Module org.elasticsearch.xcore
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>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 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.The authenticator successfully handled the authentication requestThe authenticator fail to authenticate the request and also requires the whole authentication chain to be stopped -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationResult.StatusReturns the enum constant of this class with the specified name.static AuthenticationResult.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
The authenticator successfully handled the authentication request -
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
The authenticator fail to authenticate the request and also requires the whole authentication chain to be stopped
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-