public enum PasswordPolicyErrorType extends Enum<PasswordPolicyErrorType>
Enum Constant and Description |
---|
ACCOUNT_LOCKED
Indicates that the user's account has been locked.
|
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.
|
INSUFFICIENT_PASSWORD_QUALITY
Indicates that a password doesn't pass quality checking.
|
MUST_SUPPLY_OLD_PASSWORD
Indicates that the old password must be supplied in order to modify the password.
|
PASSWORD_EXPIRED
Indicates that the password has expired and must be reset.
|
PASSWORD_IN_HISTORY
Indicates that a password has already been used and the user must choose a different one.
|
PASSWORD_MOD_NOT_ALLOWED
Indicates that a user is restricted from changing her password.
|
PASSWORD_TOO_SHORT
Indicates that a password is not long enough.
|
PASSWORD_TOO_YOUNG
Indicates that the age of the password to be modified is not yet old enough.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static PasswordPolicyErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordPolicyErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordPolicyErrorType PASSWORD_EXPIRED
public static final PasswordPolicyErrorType ACCOUNT_LOCKED
public static final PasswordPolicyErrorType CHANGE_AFTER_RESET
public static final PasswordPolicyErrorType PASSWORD_MOD_NOT_ALLOWED
public static final PasswordPolicyErrorType MUST_SUPPLY_OLD_PASSWORD
public static final PasswordPolicyErrorType INSUFFICIENT_PASSWORD_QUALITY
public static final PasswordPolicyErrorType PASSWORD_TOO_SHORT
public static final PasswordPolicyErrorType PASSWORD_TOO_YOUNG
public static final PasswordPolicyErrorType PASSWORD_IN_HISTORY
public static PasswordPolicyErrorType[] values()
for (PasswordPolicyErrorType c : PasswordPolicyErrorType.values()) System.out.println(c);
public static PasswordPolicyErrorType 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<PasswordPolicyErrorType>
Copyright 2010-2018 ForgeRock AS.