@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum PasswordPolicyWarningType extends java.lang.Enum<PasswordPolicyWarningType>
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Enum Constant and Description |
---|
GRACE_LOGINS_REMAINING
The warning type used to indicate that the user's password is expired but
that the user may have grace logins remaining, or that a grace login was
used in the associated bind.
|
TIME_BEFORE_EXPIRATION
The warning type used to indicate that the user's password will expire in
the near future and provide the length of time until it does expire.
|
Modifier and Type | Method and Description |
---|---|
static PasswordPolicyWarningType |
forName(java.lang.String name)
Retrieves the password policy warning type with the specified name.
|
java.lang.String |
getName()
Retrieves the human-readable name for this password policy warning type.
|
java.lang.String |
toString()
Retrieves a string representation for this password policy warning type.
|
static PasswordPolicyWarningType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PasswordPolicyWarningType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordPolicyWarningType TIME_BEFORE_EXPIRATION
public static final PasswordPolicyWarningType GRACE_LOGINS_REMAINING
public static PasswordPolicyWarningType[] values()
for (PasswordPolicyWarningType c : PasswordPolicyWarningType.values()) System.out.println(c);
public static PasswordPolicyWarningType 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@NotNull public java.lang.String getName()
@Nullable public static PasswordPolicyWarningType forName(@NotNull java.lang.String name)
name
- The name of the password policy warning type to retrieve. It
must not be null
.null
if no
such type is defined.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<PasswordPolicyWarningType>