当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
SecurityContextSupport - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.portlet.support.spi
Class SecurityContextSupport
java.lang.Object
org.jboss.portal.portlet.support.spi.SecurityContextSupport
- All Implemented Interfaces:
- SecurityContext
- public class SecurityContextSupport
- extends java.lang.Object
- implements SecurityContext
- Since:
- 2.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityContextSupport
public SecurityContextSupport()
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