Enum Class AuthenticationResult.Status

java.lang.Object
java.lang.Enum<AuthenticationResult.Status>
org.elasticsearch.xpack.core.security.authc.AuthenticationResult.Status
All Implemented Interfaces:
Serializable, Comparable<AuthenticationResult.Status>, Constable
Enclosing class:
AuthenticationResult<T>

public static enum AuthenticationResult.Status extends Enum<AuthenticationResult.Status>
  • Enum Constant Details

    • SUCCESS

      public static final AuthenticationResult.Status SUCCESS
      The authenticator successfully handled the authentication request
    • CONTINUE

      public static final AuthenticationResult.Status CONTINUE
      The authenticator either did not handle the authentication request for reasons such as it cannot find necessary credentials Or the authenticator tried to handle the authentication request but it was unsuccessful. Subsequent authenticators (if any) still have chance to attempt authentication.
    • TERMINATE

      public static final AuthenticationResult.Status TERMINATE
      The authenticator fail to authenticate the request and also requires the whole authentication chain to be stopped
  • Method Details

    • values

      public static AuthenticationResult.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AuthenticationResult.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null