org.apache.myfaces.custom.security
Class CustomSecurityContextImpl

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

public class CustomSecurityContextImpl
extends org.apache.myfaces.custom.security.SecurityContext

Version:
$Revision: 1099917 $ $Date: 2011-05-05 13:57:45 -0500 (Thu, 05 May 2011) $
Author:
cagatay (latest modification by $Author: lu4242 $)

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
CustomSecurityContextImpl()
           
 
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

CustomSecurityContextImpl

public CustomSecurityContextImpl()
Method Detail

getAuthType

public java.lang.String getAuthType()
Specified by:
getAuthType in class org.apache.myfaces.custom.security.SecurityContext

getRemoteUser

public java.lang.String getRemoteUser()
Specified by:
getRemoteUser in class org.apache.myfaces.custom.security.SecurityContext

ifGranted

public boolean ifGranted(java.lang.String role)
Specified by:
ifGranted in class org.apache.myfaces.custom.security.SecurityContext


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