当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
SecurityContext - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.portlet.spi
Interface SecurityContext
- All Known Implementing Classes:
- AbstractSecurityContext, SecurityContextSupport
- public interface SecurityContext
isSecure
public boolean isSecure()
isAuthenticated
public boolean isAuthenticated()
getAuthType
public java.lang.String getAuthType()
getRemoteUser
public java.lang.String getRemoteUser()
getUserPrincipal
public java.security.Principal getUserPrincipal()
isUserInRole
public boolean isUserInRole(java.lang.String roleName)