org.apache.myfaces.custom.security
Class SecurityContext

java.lang.Object
  extended by org.apache.myfaces.custom.security.SecurityContext
Direct Known Subclasses:
SecurityContextImpl

public abstract class SecurityContext
extends java.lang.Object

Author:
cagatay

Field Summary
static int AUTH_MODE_ALL
           
static int AUTH_MODE_ANY
           
static int AUTH_MODE_NONE
           
static int AUTH_MODE_NOT
           
static int AUTH_MODE_SINGLE
           
 
Constructor Summary
SecurityContext()
           
 
Method Summary
abstract  java.lang.String getAuthType()
           
abstract  java.lang.String getRemoteUser()
           
abstract  boolean ifGranted(java.lang.String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTH_MODE_NONE

public static final int AUTH_MODE_NONE
See Also:
Constant Field Values

AUTH_MODE_SINGLE

public static final int AUTH_MODE_SINGLE
See Also:
Constant Field Values

AUTH_MODE_ALL

public static final int AUTH_MODE_ALL
See Also:
Constant Field Values

AUTH_MODE_ANY

public static final int AUTH_MODE_ANY
See Also:
Constant Field Values

AUTH_MODE_NOT

public static final int AUTH_MODE_NOT
See Also:
Constant Field Values
Constructor Detail

SecurityContext

public SecurityContext()
Method Detail

getAuthType

public abstract java.lang.String getAuthType()

getRemoteUser

public abstract java.lang.String getRemoteUser()

ifGranted

public abstract boolean ifGranted(java.lang.String role)


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