org.jboss.portal.faces.component.portlet
Class JSFSecurityContext
java.lang.Object
org.jboss.portal.faces.component.portlet.JSFSecurityContext
- All Implemented Interfaces:
- SecurityContext
public class JSFSecurityContext
- extends java.lang.Object
- implements SecurityContext
- Version:
- $Revision: 8784 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSFSecurityContext
public JSFSecurityContext(javax.faces.context.FacesContext faces)
isSecure
public boolean isSecure()
- Specified by:
isSecure
in interface SecurityContext
isAuthenticated
public boolean isAuthenticated()
- Specified by:
isAuthenticated
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