Enum Class AuthenticatorBase.AuthenticationResult
java.lang.Object
java.lang.Enum<AuthenticatorBase.AuthenticationResult>
org.apache.catalina.authenticator.AuthenticatorBase.AuthenticationResult
- All Implemented Interfaces:
Serializable, Comparable<AuthenticatorBase.AuthenticationResult>, Constable
- Enclosing class:
AuthenticatorBase
protected static enum AuthenticatorBase.AuthenticationResult
extends Enum<AuthenticatorBase.AuthenticationResult>
Used to pass authentication results that are more complex than a simple pass/fail.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe authentication failed.The authentication was successful.The authentication was successful but before proceeding the constraints need to be refreshed because one or more relevant properties of the request (method, URI) have changed. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAILED
The authentication failed. -
PASSED_CONSTRAINTS_NEED_REFRESH
The authentication was successful but before proceeding the constraints need to be refreshed because one or more relevant properties of the request (method, URI) have changed. -
PASSED
The authentication was successful.
-
-
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
-
getAuthenticated
public boolean getAuthenticated()
-