当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
AbstractSecurityContext - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.portlet.impl.spi
Class AbstractSecurityContext
java.lang.Object
org.jboss.portal.portlet.impl.spi.AbstractSecurityContext
- All Implemented Interfaces:
- SecurityContext
- public class AbstractSecurityContext
- extends java.lang.Object
- implements SecurityContext
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Field Summary |
private javax.servlet.http.HttpServletRequest |
req
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
req
private javax.servlet.http.HttpServletRequest req
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
isAuthenticated
public boolean isAuthenticated()
- Specified by:
isAuthenticated
in interface SecurityContext