Enum Class PasswordPolicyWarningType
java.lang.Object
java.lang.Enum<PasswordPolicyWarningType>
org.forgerock.opendj.ldap.controls.PasswordPolicyWarningType
- All Implemented Interfaces:
Serializable,Comparable<PasswordPolicyWarningType>,java.lang.constant.Constable
A password policy warning type as defined in
draft-behera-ldap-password-policy is used to indicate the current state of a
user's password. More specifically, the number of seconds before a password
will expire, or the remaining number of times a user will be allowed to
authenticate with an expired password.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates the remaining number of times a user will be allowed to authenticate with an expired password.Indicates the number of seconds before a password will expire. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static PasswordPolicyWarningTypeReturns the enum constant of this class with the specified name.static PasswordPolicyWarningType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TIME_BEFORE_EXPIRATION
Indicates the number of seconds before a password will expire. -
GRACE_LOGINS_REMAINING
Indicates the remaining number of times a user will be allowed to authenticate with an expired password.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<PasswordPolicyWarningType>
-