Enum PasswordPolicyCfgDefn.StateUpdateFailurePolicy

  • All Implemented Interfaces:
    Serializable, Comparable<PasswordPolicyCfgDefn.StateUpdateFailurePolicy>
    Enclosing class:
    PasswordPolicyCfgDefn

    public static enum PasswordPolicyCfgDefn.StateUpdateFailurePolicy
    extends 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 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​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null