public static enum PasswordPolicyCfgDefn.StateUpdateFailurePolicy extends Enum<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>
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).
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static PasswordPolicyCfgDefn.StateUpdateFailurePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordPolicyCfgDefn.StateUpdateFailurePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordPolicyCfgDefn.StateUpdateFailurePolicy IGNORE
public static final PasswordPolicyCfgDefn.StateUpdateFailurePolicy PROACTIVE
public static final PasswordPolicyCfgDefn.StateUpdateFailurePolicy REACTIVE
public static PasswordPolicyCfgDefn.StateUpdateFailurePolicy[] values()
for (PasswordPolicyCfgDefn.StateUpdateFailurePolicy c : PasswordPolicyCfgDefn.StateUpdateFailurePolicy.values()) System.out.println(c);
public static PasswordPolicyCfgDefn.StateUpdateFailurePolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>
Copyright 2010-2022 ForgeRock AS.