com.sun.identity.authentication
Class AuthContext.IndexType

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

public static class AuthContext.IndexType
extends java.lang.Object

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


Field Summary
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(java.lang.Object indexType)
          Checks if two index type objects are equal.
 java.lang.String toString()
          Returns the string representation of the index type.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.

Method Detail

toString

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

Returns:
String string representation of index type

equals

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

Parameters:
indexType - the reference object with which to compare
Returns:
true if the objects are same; false otherwise


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.