Enum PasswordPolicyProperties.PasswordPolicyHandlingOptions
- java.lang.Object
-
- java.lang.Enum<PasswordPolicyProperties.PasswordPolicyHandlingOptions>
-
- org.apereo.cas.configuration.model.core.authentication.PasswordPolicyProperties.PasswordPolicyHandlingOptions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PasswordPolicyProperties.PasswordPolicyHandlingOptions>
- Enclosing class:
- PasswordPolicyProperties
public static enum PasswordPolicyProperties.PasswordPolicyHandlingOptions extends java.lang.Enum<PasswordPolicyProperties.PasswordPolicyHandlingOptions>
The Password policy handling options.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Default option to handle policy changes.GROOVY
Handle account password policies via Groovy.REJECT_RESULT_CODE
Strategy to only activate password policy if the authentication response code is not blocked.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PasswordPolicyProperties.PasswordPolicyHandlingOptions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PasswordPolicyProperties.PasswordPolicyHandlingOptions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final PasswordPolicyProperties.PasswordPolicyHandlingOptions DEFAULT
Default option to handle policy changes.
-
GROOVY
public static final PasswordPolicyProperties.PasswordPolicyHandlingOptions GROOVY
Handle account password policies via Groovy.
-
REJECT_RESULT_CODE
public static final PasswordPolicyProperties.PasswordPolicyHandlingOptions REJECT_RESULT_CODE
Strategy to only activate password policy if the authentication response code is not blocked.
-
-
Method Detail
-
values
public static PasswordPolicyProperties.PasswordPolicyHandlingOptions[] 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 (PasswordPolicyProperties.PasswordPolicyHandlingOptions c : PasswordPolicyProperties.PasswordPolicyHandlingOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PasswordPolicyProperties.PasswordPolicyHandlingOptions 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
-
-