Enum Class PasswordPolicyCfgDefn.StateUpdateFailurePolicy
java.lang.Object
java.lang.Enum<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>
org.forgerock.opendj.server.config.meta.PasswordPolicyCfgDefn.StateUpdateFailurePolicy
- All Implemented Interfaces:
Serializable,Comparable<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>,java.lang.constant.Constable
- Enclosing class:
- PasswordPolicyCfgDefn
public static enum PasswordPolicyCfgDefn.StateUpdateFailurePolicy
extends Enum<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>
Defines the set of permissible values for the "state-update-failure-policy" property.
Specifies how the server deals with the inability to update password policy state information during an authentication attempt.
In particular, this property can be used to control whether an otherwise successful bind operation fails if a failure occurs while attempting to update password policy state information (for example, to clear a record of previous authentication failures or to update the last login time). It can also be used to control whether to reject a bind request if it is known ahead of time that it will not be possible to update the authentication failure times in the event of an unsuccessful bind attempt (for example, if the backend writability mode is disabled).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf a bind attempt would otherwise be successful, then do not reject it if a problem occurs while attempting to update the password policy state information for the user.Proactively reject any bind attempt if it is known ahead of time that it would not be possible to update the user's password policy state information.Even if a bind attempt would otherwise be successful, reject it if a problem occurs while attempting to update the password policy state information for the user. -
Method Summary
-
Enum Constant Details
-
IGNORE
If a bind attempt would otherwise be successful, then do not reject it if a problem occurs while attempting to update the password policy state information for the user. -
PROACTIVE
Proactively reject any bind attempt if it is known ahead of time that it would not be possible to update the user's password policy state information. -
REACTIVE
Even if a bind attempt would otherwise be successful, reject it if a problem occurs while attempting to update the password policy state information for the user.
-
-
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
-
toString
- Overrides:
toStringin classEnum<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>
-