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

        public int hashCode()
        Overrides:
        hashCode in class Object