Class AuthContext.IndexType

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

@SupportedAll 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

    Fields
    Modifier and Type
    Field
    Description
    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.
    The LEVEL index type indicates that the index name given corresponds to a given authentication level.
    The MODULE_INSTANCE index type indicates that the index name given corresponds to one of the authentication modules.
    The RESOURCE index type indicates that the index name given corresponds to a given policy protected resource URL.
    The ROLE index type indicates that the index name given corresponds to a role.
    The SERVICE index type indicates that the index name given corresponds to a service (or application).
    The TRANSACTION index type indicates that the index name given corresponds to an existing transaction.
    The USER index type indicates that the index name given corresponds to a user.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object indexType)
    Checks if two index type objects are equal.
    int
     
    Returns the string representation of the index type.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • 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.
    • RESOURCE

      public static final AuthContext.IndexType RESOURCE
      The RESOURCE index type indicates that the index name given corresponds to a given policy protected resource URL.
    • 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.
    • TRANSACTION

      public static final AuthContext.IndexType TRANSACTION
      The TRANSACTION index type indicates that the index name given corresponds to an existing transaction.
  • Method Details

    • 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.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object