public enum PasswordPolicyErrorStatus extends Enum<PasswordPolicyErrorStatus>
PasswordPolicyResponseValue ::= SEQUENCE {
warning [0] CHOICE {
timeBeforeExpiration [0] INTEGER (0 .. maxInt),
graceAuthNsRemaining [1] INTEGER (0 .. maxInt)
} OPTIONAL,
error [1] ENUMERATED {
passwordExpired (0), accountLocked (1),
changeAfterReset (2), passwordModNotAllowed (3),
mustSupplyOldPassword (4), insufficientPasswordQuality (5),
passwordTooShort (6), passwordTooYoung (7),
passwordInHistory (8)
} OPTIONAL
}
| Enum Constant and Description |
|---|
ACCOUNT_LOCKED |
CHANGE_AFTER_RESET |
INSUFFICIENT_PASSWORD_QUALITY |
MUST_SUPPLY_OLD_PASSWORD |
PASSWORD_EXPIRED |
PASSWORD_IN_HISTORY |
PASSWORD_MOD_NOT_ALLOWED |
PASSWORD_TOO_SHORT |
PASSWORD_TOO_YOUNG |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultMessage() |
String |
getErrorCode() |
static PasswordPolicyErrorStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordPolicyErrorStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordPolicyErrorStatus PASSWORD_EXPIRED
public static final PasswordPolicyErrorStatus ACCOUNT_LOCKED
public static final PasswordPolicyErrorStatus CHANGE_AFTER_RESET
public static final PasswordPolicyErrorStatus PASSWORD_MOD_NOT_ALLOWED
public static final PasswordPolicyErrorStatus MUST_SUPPLY_OLD_PASSWORD
public static final PasswordPolicyErrorStatus INSUFFICIENT_PASSWORD_QUALITY
public static final PasswordPolicyErrorStatus PASSWORD_TOO_SHORT
public static final PasswordPolicyErrorStatus PASSWORD_TOO_YOUNG
public static final PasswordPolicyErrorStatus PASSWORD_IN_HISTORY
public static PasswordPolicyErrorStatus[] values()
for (PasswordPolicyErrorStatus c : PasswordPolicyErrorStatus.values()) System.out.println(c);
public static PasswordPolicyErrorStatus 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 getErrorCode()
public String getDefaultMessage()