public enum PasswordPolicyErrorType extends Enum<PasswordPolicyErrorType>
Enum Constant and Description |
---|
ACCOUNT_LOCKED
The error type that will be used to indicate that the user's account is
locked.
|
CHANGE_AFTER_RESET
The error type that will be used to indicate that the user's password must
be changed because it has been administratively reset.
|
INSUFFICIENT_PASSWORD_QUALITY
The error type that will be used to indicate that the provided password is
not acceptable according to the configured password validators.
|
MUST_SUPPLY_OLD_PASSWORD
The error type that will be used to indicate that the user's current
password must be provided in order to choose a new password.
|
PASSWORD_EXPIRED
The error type that will be used to indicate that the user's password is
expired.
|
PASSWORD_IN_HISTORY
The error type that will be used to indicate that the provided password is
in the user's password history.
|
PASSWORD_MOD_NOT_ALLOWED
The error type that will be used to indicate that user password changes are
not allowed.
|
PASSWORD_TOO_SHORT
The error type that will be used to indicate that the provided password is
too short.
|
PASSWORD_TOO_YOUNG
The error type that will be used to indicate that the user's password is
too young (i.e., it was changed too recently to allow it to be changed
again).
|
Modifier and Type | Method and Description |
---|---|
int |
intValue()
Retrieves the integer value associated with the error type to use in the
associated enumerated element in the password policy response control.
|
String |
toString()
Retrieves a string representation of this password policy error type.
|
static PasswordPolicyErrorType |
valueOf(int value)
Retrieves the password policy error type for the provided integer value.
|
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 int intValue()
public static PasswordPolicyErrorType valueOf(int value)
value
- The value for which to retrieve the corresponding error
type.null
if
the provided value does not match any error types.public String toString()
toString
in class Enum<PasswordPolicyErrorType>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.