public enum PasswordStatus extends java.lang.Enum<PasswordStatus>
| Enum Constant and Description |
|---|
ACTIVE
The password is active and valid
|
DISABLED
The password has been manually disabled
|
EXPIRED
The password is expired.
|
INDEFINITELY_BLOCKED
The password is blocked by exceeding the maximum attempts until it is manually unblocked.
|
NEVER_CREATED
The password has never been created for the user
|
OLD
A password which is not in use anymore, but stays there for the sake of knowing whether a password as already
used in past.
|
PENDING
The password was manually allowed (by admins) for the user to generate it, but it was not yet generated (never
used for manual passwords)
|
RESET
The password has been reset
|
TEMPORARILY_BLOCKED
The password is temporarily blocked by exceeding the maximum attempts
(depends on the max attempts action defined in the password type: temporarily blocked).
|
| Modifier and Type | Method and Description |
|---|---|
static PasswordStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PasswordStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordStatus NEVER_CREATED
public static final PasswordStatus PENDING
public static final PasswordStatus ACTIVE
public static final PasswordStatus DISABLED
public static final PasswordStatus RESET
public static final PasswordStatus TEMPORARILY_BLOCKED
public static final PasswordStatus INDEFINITELY_BLOCKED
public static final PasswordStatus EXPIRED
public static final PasswordStatus OLD
public static PasswordStatus[] values()
for (PasswordStatus c : PasswordStatus.values()) System.out.println(c);
public static PasswordStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null