Enum AuthenticationHandlerStates
- java.lang.Object
-
- java.lang.Enum<AuthenticationHandlerStates>
-
- org.apereo.cas.configuration.model.core.authentication.AuthenticationHandlerStates
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthenticationHandlerStates>
public enum AuthenticationHandlerStates extends java.lang.Enum<AuthenticationHandlerStates>
This isAuthenticationHandlerStates
.- Since:
- 6.4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationHandlerStates
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthenticationHandlerStates[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final AuthenticationHandlerStates ACTIVE
Active authentication handler, and is invoked by default automatically to verify credentials globally.
-
STANDBY
public static final AuthenticationHandlerStates STANDBY
Authentication handler is in a semi-enabled state, waiting to be called only on-demand when explicitly asked for.
-
-
Method Detail
-
values
public static AuthenticationHandlerStates[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthenticationHandlerStates c : AuthenticationHandlerStates.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationHandlerStates valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-