Package com.isode.dsapi
Enum Class Indication.PasswordPolicyStatus
- All Implemented Interfaces:
Serializable
,Comparable<Indication.PasswordPolicyStatus>
,Constable
- Enclosing class:
- Indication
Values that may be returned from a call to getPasswordPolicyErrorCode.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe account is locked.The password must be changed before any operation other than a bind or modify will be allowed.The password is of insufficient quality.The old password must be supplied when changing the password.No errorThe password has expired and must be reset.The password was used previously.The user is restricted from changing her password.The password is too short.The password is too young to change.An unknown status was returned. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Indication.PasswordPolicyStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PASSWORD_EXPIRED
The password has expired and must be reset. -
ACCOUNT_LOCKED
The account is locked. -
CHANGE_AFTER_RESET
The password must be changed before any operation other than a bind or modify will be allowed. -
PASSWORD_MOD_NOT_ALLOWED
The user is restricted from changing her password. -
MUST_SUPPLY_OLD_PASSWORD
The old password must be supplied when changing the password. -
INSUFFICIENT_PASSWORD_QUALITY
The password is of insufficient quality. -
PASSWORD_TOO_SHORT
The password is too short. -
PASSWORD_TOO_YOUNG
The password is too young to change. -
PASSWORD_IN_HISTORY
The password was used previously. -
NO_ERROR
No error -
UNKNOWN_STATUS
An unknown status was returned.
-
-
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
-