站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

AbstractSecurityContext - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.server.app.impl
Class AbstractSecurityContext

java.lang.Object
  extended byorg.jboss.portal.server.app.impl.AbstractSecurityContext
All Implemented Interfaces:
SecurityContext

public class AbstractSecurityContext
extends java.lang.Object
implements SecurityContext


Constructor Summary
AbstractSecurityContext(javax.servlet.http.HttpServletRequest req)
           
 
Method Summary
 java.lang.String getAuthType()
           
 java.lang.String getRemoteUser()
           
 java.security.Principal getUserPrincipal()
           
 boolean isSecure()
           
 boolean isUserInRole(java.lang.String roleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSecurityContext

public AbstractSecurityContext(javax.servlet.http.HttpServletRequest req)
Method Detail

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