当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
SecurityContext - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.portlet.spi
Interface SecurityContext
- All Known Implementing Classes:
- AbstractSecurityContext, SecurityContextSupport
- public interface SecurityContext
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
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)