com.sun.identity.authentication
Class AuthContext.IndexType
java.lang.Object
|
+--com.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.
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 |
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.
AuthContext.IndexType
public AuthContext.IndexType()
toString
public java.lang.String toString()
- Returns the string representation
of the index type.
- Overrides:
toString
in class java.lang.Object
- Returns:
- String string representation of
index type
equals
public boolean equals(java.lang.Object indexType)
- Checks if two index type objects are equal.
- Overrides:
equals
in class java.lang.Object
- Parameters:
indexType
- the reference object with which to compare- Returns:
true
if the objects are same;
false
otherwise