站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

SecurityContextSupport - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.portlet.support.spi
Class SecurityContextSupport

java.lang.Object
  extended byorg.jboss.portal.portlet.support.spi.SecurityContextSupport
All Implemented Interfaces:
SecurityContext

public class SecurityContextSupport
extends java.lang.Object
implements SecurityContext

Since:
2.4

Constructor Summary
SecurityContextSupport()
           
 
Method Summary
 java.lang.String getAuthType()
           
 java.lang.String getRemoteUser()
           
 java.security.Principal getUserPrincipal()
           
 boolean isAuthenticated()
           
 boolean isSecure()
           
 boolean isUserInRole(java.lang.String roleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityContextSupport

public SecurityContextSupport()
Method Detail

isSecure

public boolean isSecure()
Specified by:
isSecure in interface SecurityContext

getAuthType

public java.lang.String getAuthType()
Specified by:
getAuthType in interface SecurityContext

getRemoteUser

public java.lang.String getRemoteUser()
Specified by:
getRemoteUser in interface SecurityContext

getUserPrincipal

public java.security.Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface SecurityContext

isUserInRole

public boolean isUserInRole(java.lang.String roleName)
Specified by:
isUserInRole in interface SecurityContext

isAuthenticated

public boolean isAuthenticated()
Specified by:
isAuthenticated in interface SecurityContext