Enum PasswordPolicyErrorType

    • Enum Constant Detail

      • PASSWORD_EXPIRED

        public static final PasswordPolicyErrorType PASSWORD_EXPIRED
        Indicates that the password has expired and must be reset.
      • ACCOUNT_LOCKED

        public static final PasswordPolicyErrorType ACCOUNT_LOCKED
        Indicates that the user's account has been locked.
      • CHANGE_AFTER_RESET

        public static final PasswordPolicyErrorType CHANGE_AFTER_RESET
        Indicates that the password must be changed before the user will be allowed to perform any operation other than bind and modify.
      • PASSWORD_MOD_NOT_ALLOWED

        public static final PasswordPolicyErrorType PASSWORD_MOD_NOT_ALLOWED
        Indicates that a user is restricted from changing her password.
      • MUST_SUPPLY_OLD_PASSWORD

        public static final PasswordPolicyErrorType MUST_SUPPLY_OLD_PASSWORD
        Indicates that the old password must be supplied in order to modify the password.
      • INSUFFICIENT_PASSWORD_QUALITY

        public static final PasswordPolicyErrorType INSUFFICIENT_PASSWORD_QUALITY
        Indicates that a password doesn't pass quality checking.
      • PASSWORD_TOO_SHORT

        public static final PasswordPolicyErrorType PASSWORD_TOO_SHORT
        Indicates that a password is not long enough.
      • PASSWORD_TOO_YOUNG

        public static final PasswordPolicyErrorType PASSWORD_TOO_YOUNG
        Indicates that the age of the password to be modified is not yet old enough.
      • PASSWORD_IN_HISTORY

        public static final PasswordPolicyErrorType PASSWORD_IN_HISTORY
        Indicates that a password has already been used and the user must choose a different one.
    • Method Detail

      • values

        public static PasswordPolicyErrorType[] 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 (PasswordPolicyErrorType c : PasswordPolicyErrorType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PasswordPolicyErrorType 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
      • intValue

        public int intValue()
        Returns the integer value for this password policy error type.
        Returns:
        The integer value for this password policy error type.