Package org.ldaptive.control
Enum PasswordPolicyControl.WarningType
java.lang.Object
java.lang.Enum<PasswordPolicyControl.WarningType>
org.ldaptive.control.PasswordPolicyControl.WarningType
- All Implemented Interfaces:
Serializable,Comparable<PasswordPolicyControl.WarningType>
- Enclosing class:
- PasswordPolicyControl
public static enum PasswordPolicyControl.WarningType
extends Enum<PasswordPolicyControl.WarningType>
Enum for ppolicy warnings.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiongraceAuthNsRemaining.timeBeforeExpiration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static PasswordPolicyControl.WarningType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TIME_BEFORE_EXPIRATION
timeBeforeExpiration. -
GRACE_AUTHNS_REMAINING
graceAuthNsRemaining.
-
-
Constructor Details
-
WarningType
private WarningType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-