public enum PasswordPolicyErrorEnum extends Enum<PasswordPolicyErrorEnum>
| Enum Constant and Description |
|---|
ACCOUNT_LOCKED
The account is locked
|
CHANGE_AFTER_RESET |
INSUFFICIENT_PASSWORD_QUALITY
The password quality is not sufficient
|
MUST_SUPPLY_OLD_PASSWORD
The ld password must be supplied
|
PASSWORD_EXPIRED
The password has expired
|
PASSWORD_IN_HISTORY
The password is in history
|
PASSWORD_MOD_NOT_ALLOWED
the password modification is not allowed
|
PASSWORD_TOO_SHORT
The password is too short
|
PASSWORD_TOO_YOUNG
The password has been changed too recently to be used
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static PasswordPolicyErrorEnum |
get(int val)
Get the PasswordPolicyErrorEnum gien its numeric value
|
int |
getValue() |
static PasswordPolicyErrorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordPolicyErrorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordPolicyErrorEnum PASSWORD_EXPIRED
public static final PasswordPolicyErrorEnum ACCOUNT_LOCKED
public static final PasswordPolicyErrorEnum CHANGE_AFTER_RESET
public static final PasswordPolicyErrorEnum PASSWORD_MOD_NOT_ALLOWED
public static final PasswordPolicyErrorEnum MUST_SUPPLY_OLD_PASSWORD
public static final PasswordPolicyErrorEnum INSUFFICIENT_PASSWORD_QUALITY
public static final PasswordPolicyErrorEnum PASSWORD_TOO_SHORT
public static final PasswordPolicyErrorEnum PASSWORD_TOO_YOUNG
public static final PasswordPolicyErrorEnum PASSWORD_IN_HISTORY
public static PasswordPolicyErrorEnum[] values()
for (PasswordPolicyErrorEnum c : PasswordPolicyErrorEnum.values()) System.out.println(c);
public static PasswordPolicyErrorEnum 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 static PasswordPolicyErrorEnum get(int val)
val - The numeric value to retrievepublic int getValue()
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.