com.sun.identity.authentication
Class AuthContext.IndexType

java.lang.Object
  extended by com.sun.identity.authentication.AuthContext.IndexType
Enclosing class:
AuthContext

public static class AuthContext.IndexType
extends Object

The class IndexType defines the possible kinds of "objects" or "resources" for which an authentication can be performed.


Field Summary
static AuthContext.IndexType COMPOSITE_ADVICE
          The COMPOSITE_ADVICE index type indicates that the index name given corresponds to string in the form of XML representing different Policy Authentication conditions, example AuthSchemeCondition, AuthLevelCondition, etc.
static AuthContext.IndexType LEVEL
          The LEVEL index type indicates that the index name given corresponds to a given authentication level.
static AuthContext.IndexType MODULE_INSTANCE
          The MODULE_INSTANCE index type indicates that the index name given corresponds to one of the authentication modules.
static AuthContext.IndexType ROLE
          The ROLE index type indicates that the index name given corresponds to a role.
static AuthContext.IndexType SERVICE
          The SERVICE index type indicates that the index name given corresponds to a service (or application).
static AuthContext.IndexType USER
          The USER index type indicates that the index name given corresponds to a user.
 
Method Summary
 boolean equals(Object indexType)
          Checks if two index type objects are equal.
 String toString()
          Returns the string representation of the index type.
 

Field Detail

USER

public static final AuthContext.IndexType USER
The USER index type indicates that the index name given corresponds to a user.


ROLE

public static final AuthContext.IndexType ROLE
The ROLE index type indicates that the index name given corresponds to a role.


SERVICE

public static final AuthContext.IndexType SERVICE
The SERVICE index type indicates that the index name given corresponds to a service (or application).


LEVEL

public static final AuthContext.IndexType LEVEL
The LEVEL index type indicates that the index name given corresponds to a given authentication level.


MODULE_INSTANCE

public static final AuthContext.IndexType MODULE_INSTANCE
The MODULE_INSTANCE index type indicates that the index name given corresponds to one of the authentication modules.


COMPOSITE_ADVICE

public static final AuthContext.IndexType COMPOSITE_ADVICE
The COMPOSITE_ADVICE index type indicates that the index name given corresponds to string in the form of XML representing different Policy Authentication conditions, example AuthSchemeCondition, AuthLevelCondition, etc.

Method Detail

toString

public String toString()
Returns the string representation of the index type.

Overrides:
toString in class Object
Returns:
String representation of index type.

equals

public boolean equals(Object indexType)
Checks if two index type objects are equal.

Overrides:
equals in class Object
Parameters:
indexType - Reference object with which to compare.
Returns:
true if the objects are same.