|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PasswordPolicyErrorType>
com.unboundid.ldap.sdk.unboundidds.controls.PasswordPolicyErrorType
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum PasswordPolicyErrorType
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This enum defines a set of error types that may be included in the password policy response control as defined in draft-behera-ldap-password-policy.
Enum Constant Summary | |
---|---|
ACCOUNT_LOCKED
The error type that indicates the user's account is locked or disabled. |
|
CHANGE_AFTER_RESET
The error type that indicates the user's password must be changed before any other operation will be allowed. |
|
INSUFFICIENT_PASSWORD_QUALITY
The error type that indicates the proposed password is too weak to be acceptable. |
|
MUST_SUPPLY_OLD_PASSWORD
The error type that indicates the user must provide the current password when attempting to set a new one. |
|
PASSWORD_EXPIRED
The error type that indicates the user's password is expired. |
|
PASSWORD_IN_HISTORY
The error type that indicates the proposed password is already in the password history. |
|
PASSWORD_MOD_NOT_ALLOWED
The error type that indicates that user password changes aren't allowed. |
|
PASSWORD_TOO_SHORT
The error type that indicates the proposed password is too short. |
|
PASSWORD_TOO_YOUNG
The error type that indicates the user's password cannot be changed because it has not been long enough since it was last changed. |
Method Summary | |
---|---|
java.lang.String |
getName()
Retrieves the human-readable name for this password policy error type. |
int |
intValue()
Retrieves the integer value for this password policy error type. |
java.lang.String |
toString()
Retrieves a string representation for this password policy error type. |
static PasswordPolicyErrorType |
valueOf(int intValue)
Retrieves the password policy error type with the specified int value. |
static PasswordPolicyErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PasswordPolicyErrorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PasswordPolicyErrorType PASSWORD_EXPIRED
public static final PasswordPolicyErrorType ACCOUNT_LOCKED
public static final PasswordPolicyErrorType CHANGE_AFTER_RESET
public static final PasswordPolicyErrorType PASSWORD_MOD_NOT_ALLOWED
public static final PasswordPolicyErrorType MUST_SUPPLY_OLD_PASSWORD
public static final PasswordPolicyErrorType INSUFFICIENT_PASSWORD_QUALITY
public static final PasswordPolicyErrorType PASSWORD_TOO_SHORT
public static final PasswordPolicyErrorType PASSWORD_TOO_YOUNG
public static final PasswordPolicyErrorType PASSWORD_IN_HISTORY
Method Detail |
---|
public static PasswordPolicyErrorType[] values()
for (PasswordPolicyErrorType c : PasswordPolicyErrorType.values()) System.out.println(c);
public static PasswordPolicyErrorType 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public int intValue()
public static PasswordPolicyErrorType valueOf(int intValue)
intValue
- The numeric value associated with the error type.
null
if there is no
password policy error type with the specified set of values.public java.lang.String toString()
toString
in class java.lang.Enum<PasswordPolicyErrorType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |