站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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


Method Summary
 java.lang.String getAuthType()
           
 java.lang.String getRemoteUser()
           
 java.security.Principal getUserPrincipal()
           
 boolean isAuthenticated()
           
 boolean isSecure()
           
 boolean isUserInRole(java.lang.String roleName)
           
 

Method Detail

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)