@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum AccountStatusNotificationType extends java.lang.Enum<AccountStatusNotificationType>
Enum Constant and Description |
---|
ACCOUNT_DISABLED
Indicates that an account status message should be generated whenever a
user account has been disabled by an administrator.
|
ACCOUNT_ENABLED
Indicates that an account status message should be generated whenever a
user account has been enabled by an administrator.
|
ACCOUNT_EXPIRED
Indicates that an account status message should be generated whenever a
user authentication has failed because the account has expired.
|
ACCOUNT_IDLE_LOCKED
Indicates that an account status message should be generated whenever a
user account has been locked because it was idle for too long.
|
ACCOUNT_NOT_YET_ACTIVE
Indicates that an account status message should be generated whenever a
user authentication has failed because the account activation time is still
in the future.
|
ACCOUNT_PERMANENTLY_LOCKED
Indicates that an account status message should be generated whenever a
user account has been permanently locked (requiring an administrative
password reset) after too many failed attempts.
|
ACCOUNT_RESET_LOCKED
Indicates that an account status message should be generated whenever a
user account has been locked because it the password had been reset by an
administrator but not changed by the user within the required interval.
|
ACCOUNT_TEMPORARILY_LOCKED
Indicates that an account status message should be generated whenever a
user account has been temporarily locked after too many failed attempts.
|
ACCOUNT_UNLOCKED
Indicates that an account status message should be generated whenever a
user account has been unlocked by an administrator.
|
PASSWORD_CHANGED
Indicates whether an account status notification message should be
generated whenever a user changes his/her own password.
|
PASSWORD_EXPIRED
Indicates that an account status notification message should be generated
whenever a user authentication has failed because the password has expired.
|
PASSWORD_EXPIRING
Indicates that an account status notification message should be generated
the first time that a password expiration warning is encountered for a user
password.
|
PASSWORD_RESET
Indicates that an account status notification message should be generated
whenever a user's password is reset by an administrator.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Retrieves the name for this account status notification type.
|
java.lang.String |
toString()
Retrieves a string representation of this account status
notification type.
|
static AccountStatusNotificationType |
typeForName(java.lang.String name)
Retrieves the account status notification type with the specified
name.
|
static AccountStatusNotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountStatusNotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountStatusNotificationType ACCOUNT_TEMPORARILY_LOCKED
public static final AccountStatusNotificationType ACCOUNT_PERMANENTLY_LOCKED
public static final AccountStatusNotificationType ACCOUNT_UNLOCKED
public static final AccountStatusNotificationType ACCOUNT_IDLE_LOCKED
public static final AccountStatusNotificationType ACCOUNT_RESET_LOCKED
public static final AccountStatusNotificationType ACCOUNT_DISABLED
public static final AccountStatusNotificationType ACCOUNT_ENABLED
public static final AccountStatusNotificationType ACCOUNT_NOT_YET_ACTIVE
public static final AccountStatusNotificationType ACCOUNT_EXPIRED
public static final AccountStatusNotificationType PASSWORD_EXPIRED
public static final AccountStatusNotificationType PASSWORD_EXPIRING
public static final AccountStatusNotificationType PASSWORD_RESET
public static final AccountStatusNotificationType PASSWORD_CHANGED
public static AccountStatusNotificationType[] values()
for (AccountStatusNotificationType c : AccountStatusNotificationType.values()) System.out.println(c);
public static AccountStatusNotificationType 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 nullpublic static AccountStatusNotificationType typeForName(java.lang.String name)
name
- The name for the account status notification type
to retrieve.null
if there is no type with the given
name.public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<AccountStatusNotificationType>