当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
AbstractSecurityContext - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.server.app.impl
Class AbstractSecurityContext
java.lang.Object
org.jboss.portal.server.app.impl.AbstractSecurityContext
- All Implemented Interfaces:
- SecurityContext
- public class AbstractSecurityContext
- extends java.lang.Object
- implements SecurityContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSecurityContext
public AbstractSecurityContext(javax.servlet.http.HttpServletRequest req)
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