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)