@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class PasswordPolicyStateAccountUsabilityError extends java.lang.Object implements java.io.Serializable
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR_NAME_ACCOUNT_DISABLED
The name for the error type that indicates the user's account is disabled.
|
static java.lang.String |
ERROR_NAME_ACCOUNT_EXPIRED
The name for the error type that indicates the user's account is expired.
|
static java.lang.String |
ERROR_NAME_ACCOUNT_IDLE_LOCKED
The name for the error type that indicates the user's account is locked
(until the password is reset by an administrator) as a result of remaining
idle for too long (i.e., it has been too long since the user last
authenticated).
|
static java.lang.String |
ERROR_NAME_ACCOUNT_NOT_YET_ACTIVE
The name for the error type that indicates the user's account is not yet
valid.
|
static java.lang.String |
ERROR_NAME_ACCOUNT_PERMANENTLY_LOCKED_DUE_TO_BIND_FAILURES
The name for the error type that indicates the user's account is
permanently locked (until the password is reset by an administrator) as a
result of too many failed authentication attempts.
|
static java.lang.String |
ERROR_NAME_ACCOUNT_RESET_LOCKED
The name for the error type that indicates the user's account is locked
(until the password is reset by an administrator) as a result of failing to
change the password in a timely manner after it was reset by an
administrator.
|
static java.lang.String |
ERROR_NAME_ACCOUNT_TEMPORARILY_LOCKED_DUE_TO_BIND_FAILURES
The name for the error type that indicates the user's account is
temporarily locked (until the lockout period elapses or the password is
reset by an administrator) as a result of too many failed authentication
attempts.
|
static java.lang.String |
ERROR_NAME_ACCOUNT_VALIDATION_LOCKED
The name for the error type that indicates the user's account is locked
because it contains a password that does not satisfy all of the configured
password validators.
|
static java.lang.String |
ERROR_NAME_MUST_CHANGE_PASSWORD
The name for the error type that indicates the user must change their
password after an administrative reset (or for a newly-created account)
before they will be submit any requests.
|
static java.lang.String |
ERROR_NAME_PASSWORD_EXPIRED
The name for the error type that indicates the user's password is expired.
|
static java.lang.String |
ERROR_NAME_PASSWORD_EXPIRED_WITH_GRACE_LOGINS
The name for the error type that indicates the user's password has
expired, but the user has one or more grace logins remaining.
|
static java.lang.String |
ERROR_NAME_PASSWORD_NOT_CHANGED_BY_REQUIRED_TIME
The name for the error type that indicates the user's account is locked
(until the password is reset by an administrator) as a result of failing to
change the password by a required time.
|
static int |
ERROR_TYPE_ACCOUNT_DISABLED
The numeric value for the error type that indicates the user's account is
disabled.
|
static int |
ERROR_TYPE_ACCOUNT_EXPIRED
The numeric value for the error type that indicates the user's account is
expired.
|
static int |
ERROR_TYPE_ACCOUNT_IDLE_LOCKED
The numeric value for the error type that indicates the user's account is
locked (until the password is reset by an administrator) as a result of
remaining idle for too long (i.e., it has been too long since the user last
authenticated).
|
static int |
ERROR_TYPE_ACCOUNT_NOT_YET_ACTIVE
The numeric value for the error type that indicates the user's account is
not yet active.
|
static int |
ERROR_TYPE_ACCOUNT_PERMANENTLY_LOCKED_DUE_TO_BIND_FAILURES
The numeric value for the error type that indicates the user's account is
permanently locked (until the password is reset by an administrator) as a
result of too many failed authentication attempts.
|
static int |
ERROR_TYPE_ACCOUNT_RESET_LOCKED
The numeric value for the error type that indicates the user's account is
locked (until the password is reset by an administrator) as a result of
failing to change the password in a timely manner after it was reset by an
administrator.
|
static int |
ERROR_TYPE_ACCOUNT_TEMPORARILY_LOCKED_DUE_TO_BIND_FAILURES
The numeric value for the error type that indicates the user's account is
temporarily locked (until the lockout period elapses or the password is
reset by an administrator) as a result of too many failed authentication
attempts.
|
static int |
ERROR_TYPE_ACCOUNT_VALIDATION_LOCKED
The numeric value for the error type that indicates the user's account is
locked because it contains a password that does not satisfy all of the
configured password validators.
|
static int |
ERROR_TYPE_MUST_CHANGE_PASSWORD
The numeric value for the error type that indicates the user must change
their password after an administrative reset (or for a newly-created
account) before they will be submit any requests.
|
static int |
ERROR_TYPE_PASSWORD_EXPIRED
The numeric value for the error type that indicates the user's password
is expired.
|
static int |
ERROR_TYPE_PASSWORD_EXPIRED_WITH_GRACE_LOGINS
The numeric value for the error type that indicates the user's password
has expired, but the user has one or more grace logins remaining.
|
static int |
ERROR_TYPE_PASSWORD_NOT_CHANGED_BY_REQUIRED_TIME
The numeric value for the error type that indicates the user's account is
locked (until the password is reset by an administrator) as a result of
failing to change the password by a required time.
|
Constructor and Description |
---|
PasswordPolicyStateAccountUsabilityError(int intValue,
java.lang.String name,
java.lang.String message)
Creates a new account usability error with the provided information.
|
PasswordPolicyStateAccountUsabilityError(java.lang.String stringRepresentation)
Creates a new account usability error that is decoded from the provided
string representation.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Retrieves the integer value for this account usability error.
|
java.lang.String |
getMessage()
Retrieves a human-readable message that provides specific details about
this account usability error.
|
java.lang.String |
getName()
Retrieves the name for this account usability error.
|
java.lang.String |
toString()
Retrieves a string representation of this account usability error.
|
public static final int ERROR_TYPE_ACCOUNT_DISABLED
@NotNull public static final java.lang.String ERROR_NAME_ACCOUNT_DISABLED
public static final int ERROR_TYPE_ACCOUNT_NOT_YET_ACTIVE
@NotNull public static final java.lang.String ERROR_NAME_ACCOUNT_NOT_YET_ACTIVE
public static final int ERROR_TYPE_ACCOUNT_EXPIRED
@NotNull public static final java.lang.String ERROR_NAME_ACCOUNT_EXPIRED
public static final int ERROR_TYPE_ACCOUNT_PERMANENTLY_LOCKED_DUE_TO_BIND_FAILURES
@NotNull public static final java.lang.String ERROR_NAME_ACCOUNT_PERMANENTLY_LOCKED_DUE_TO_BIND_FAILURES
public static final int ERROR_TYPE_ACCOUNT_TEMPORARILY_LOCKED_DUE_TO_BIND_FAILURES
@NotNull public static final java.lang.String ERROR_NAME_ACCOUNT_TEMPORARILY_LOCKED_DUE_TO_BIND_FAILURES
public static final int ERROR_TYPE_ACCOUNT_IDLE_LOCKED
@NotNull public static final java.lang.String ERROR_NAME_ACCOUNT_IDLE_LOCKED
public static final int ERROR_TYPE_ACCOUNT_RESET_LOCKED
@NotNull public static final java.lang.String ERROR_NAME_ACCOUNT_RESET_LOCKED
public static final int ERROR_TYPE_PASSWORD_EXPIRED
@NotNull public static final java.lang.String ERROR_NAME_PASSWORD_EXPIRED
public static final int ERROR_TYPE_PASSWORD_NOT_CHANGED_BY_REQUIRED_TIME
@NotNull public static final java.lang.String ERROR_NAME_PASSWORD_NOT_CHANGED_BY_REQUIRED_TIME
public static final int ERROR_TYPE_PASSWORD_EXPIRED_WITH_GRACE_LOGINS
@NotNull public static final java.lang.String ERROR_NAME_PASSWORD_EXPIRED_WITH_GRACE_LOGINS
public static final int ERROR_TYPE_MUST_CHANGE_PASSWORD
@NotNull public static final java.lang.String ERROR_NAME_MUST_CHANGE_PASSWORD
public static final int ERROR_TYPE_ACCOUNT_VALIDATION_LOCKED
@NotNull public static final java.lang.String ERROR_NAME_ACCOUNT_VALIDATION_LOCKED
public PasswordPolicyStateAccountUsabilityError(int intValue, @NotNull java.lang.String name, @Nullable java.lang.String message)
intValue
- The integer value for this account usability error.name
- The name for this account usability error. It must not
be null
.message
- A human-readable message that provides specific details
about this account usability error. It may be
null
if no message is available.public PasswordPolicyStateAccountUsabilityError(@NotNull java.lang.String stringRepresentation) throws LDAPException
stringRepresentation
- The string representation of the account
usability error to decode. It must not be
null
.LDAPException
- If the provided string cannot be decoded as a valid
account usability error.public int getIntValue()
@NotNull public java.lang.String getName()
@Nullable public java.lang.String getMessage()
null
if no message is
available.