org.opends.server.admin.std.meta
Enum PasswordPolicyCfgDefn.StateUpdateFailurePolicy

java.lang.Object
  extended by java.lang.Enum<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>
      extended by org.opends.server.admin.std.meta.PasswordPolicyCfgDefn.StateUpdateFailurePolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>
Enclosing class:
PasswordPolicyCfgDefn

public static enum PasswordPolicyCfgDefn.StateUpdateFailurePolicy
extends java.lang.Enum<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>

Defines the set of permissable 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).


Enum Constant Summary
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 Summary
 java.lang.String toString()
          
static PasswordPolicyCfgDefn.StateUpdateFailurePolicy valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IGNORE

public static final PasswordPolicyCfgDefn.StateUpdateFailurePolicy 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

public static final PasswordPolicyCfgDefn.StateUpdateFailurePolicy 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

public static final PasswordPolicyCfgDefn.StateUpdateFailurePolicy 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 Detail

values

public static PasswordPolicyCfgDefn.StateUpdateFailurePolicy[] 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 (PasswordPolicyCfgDefn.StateUpdateFailurePolicy c : PasswordPolicyCfgDefn.StateUpdateFailurePolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PasswordPolicyCfgDefn.StateUpdateFailurePolicy 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 name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>