org.jboss.portal.server.app.spi
Interface SecurityContext

All Known Implementing Classes:
AbstractSecurityContext

public interface SecurityContext


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

Method Detail

isSecure

public boolean isSecure()

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)