org.apache.myfaces.custom.security
Class SecurityContextImpl

java.lang.Object
  extended by org.apache.myfaces.custom.security.SecurityContext
      extended by org.apache.myfaces.custom.security.SecurityContextImpl

public class SecurityContextImpl
extends SecurityContext

Author:
cagatay

Field Summary
 
Fields inherited from class org.apache.myfaces.custom.security.SecurityContext
AUTH_MODE_ALL, AUTH_MODE_ANY, AUTH_MODE_NONE, AUTH_MODE_NOT, AUTH_MODE_SINGLE
 
Constructor Summary
SecurityContextImpl()
           
 
Method Summary
 java.lang.String getAuthType()
           
 java.lang.String getRemoteUser()
           
 boolean ifGranted(java.lang.String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityContextImpl

public SecurityContextImpl()
Method Detail

getAuthType

public java.lang.String getAuthType()
Specified by:
getAuthType in class SecurityContext

getRemoteUser

public java.lang.String getRemoteUser()
Specified by:
getRemoteUser in class SecurityContext

ifGranted

public boolean ifGranted(java.lang.String role)
Specified by:
ifGranted in class SecurityContext


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.