Package com.isode.dsapi
Enum Indication.PasswordPolicyStatus
- java.lang.Object
-
- java.lang.Enum<Indication.PasswordPolicyStatus>
-
- com.isode.dsapi.Indication.PasswordPolicyStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Indication.PasswordPolicyStatus>
- Enclosing class:
- Indication
public static enum Indication.PasswordPolicyStatus extends java.lang.Enum<Indication.PasswordPolicyStatus>
Values that may be returned from a call to getPasswordPolicyErrorCode.- See Also:
Indication.getPasswordPolicyStatus()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.INSUFFICIENT_PASSWORD_QUALITY
The password is of insufficient quality.MUST_SUPPLY_OLD_PASSWORD
The old password must be supplied when changing the password.NO_ERROR
No errorPASSWORD_EXPIRED
The password has expired and must be reset.PASSWORD_IN_HISTORY
The password was used previously.PASSWORD_MOD_NOT_ALLOWED
The user is restricted from changing her password.PASSWORD_TOO_SHORT
The password is too short.PASSWORD_TOO_YOUNG
The password is too young to change.UNKNOWN_STATUS
An unknown status was returned.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Indication.PasswordPolicyStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Indication.PasswordPolicyStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSWORD_EXPIRED
public static final Indication.PasswordPolicyStatus PASSWORD_EXPIRED
The password has expired and must be reset.
-
ACCOUNT_LOCKED
public static final Indication.PasswordPolicyStatus ACCOUNT_LOCKED
The account is locked.
-
CHANGE_AFTER_RESET
public static final Indication.PasswordPolicyStatus CHANGE_AFTER_RESET
The password must be changed before any operation other than a bind or modify will be allowed.
-
PASSWORD_MOD_NOT_ALLOWED
public static final Indication.PasswordPolicyStatus PASSWORD_MOD_NOT_ALLOWED
The user is restricted from changing her password.
-
MUST_SUPPLY_OLD_PASSWORD
public static final Indication.PasswordPolicyStatus MUST_SUPPLY_OLD_PASSWORD
The old password must be supplied when changing the password.
-
INSUFFICIENT_PASSWORD_QUALITY
public static final Indication.PasswordPolicyStatus INSUFFICIENT_PASSWORD_QUALITY
The password is of insufficient quality.
-
PASSWORD_TOO_SHORT
public static final Indication.PasswordPolicyStatus PASSWORD_TOO_SHORT
The password is too short.
-
PASSWORD_TOO_YOUNG
public static final Indication.PasswordPolicyStatus PASSWORD_TOO_YOUNG
The password is too young to change.
-
PASSWORD_IN_HISTORY
public static final Indication.PasswordPolicyStatus PASSWORD_IN_HISTORY
The password was used previously.
-
NO_ERROR
public static final Indication.PasswordPolicyStatus NO_ERROR
No error
-
UNKNOWN_STATUS
public static final Indication.PasswordPolicyStatus UNKNOWN_STATUS
An unknown status was returned.
-
-
Method Detail
-
values
public static Indication.PasswordPolicyStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Indication.PasswordPolicyStatus c : Indication.PasswordPolicyStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Indication.PasswordPolicyStatus valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-