@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class PasswordPolicyStateAccountUsabilityWarning 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 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 |
WARNING_NAME_ACCOUNT_EXPIRING
The name for the warning type that indicates the user's account is about
to expire.
|
static java.lang.String |
WARNING_NAME_ACCOUNT_IDLE
The name for the warning type that indicates the user has not authenticated
in some time, and the account may be locked in the near future if it
remains idle.
|
static java.lang.String |
WARNING_NAME_OUTSTANDING_BIND_FAILURES
The name for the warning type that indicates the user has one or more
failed authentication attempts since the last successful bind, and that the
account may be locked if there are too many more failures.
|
static java.lang.String |
WARNING_NAME_PASSWORD_EXPIRING
The name for the warning type that indicates the user's password is about
to expire.
|
static java.lang.String |
WARNING_NAME_REQUIRE_PASSWORD_CHANGE_BY_TIME
The name for the warning type that indicates the user user will be required
to change his/her password by a specific time because the password policy
requires all users to change their passwords by that time.
|
static int |
WARNING_TYPE_ACCOUNT_EXPIRING
The numeric value for the warning type that indicates the user's account is
about to expire.
|
static int |
WARNING_TYPE_ACCOUNT_IDLE
The numeric value for the warning type that indicates the user has not
authenticated in some time, and the account may be locked in the near
future if it remains idle.
|
static int |
WARNING_TYPE_OUTSTANDING_BIND_FAILURES
The numeric value for the warning type that indicates the user has one or
more failed authentication attempts since the last successful bind, and
that the account may be locked if there are too many more failures.
|
static int |
WARNING_TYPE_PASSWORD_EXPIRING
The numeric value for the warning type that indicates the user's password
is about to expire.
|
static int |
WARNING_TYPE_REQUIRE_PASSWORD_CHANGE_BY_TIME
The numeric value for the warning type that indicates the user will be
required to change his/her password by a specific time because the password
policy requires all users to change their passwords by that time.
|
Constructor and Description |
---|
PasswordPolicyStateAccountUsabilityWarning(int intValue,
java.lang.String name,
java.lang.String message)
Creates a new account usability warning with the provided information.
|
PasswordPolicyStateAccountUsabilityWarning(java.lang.String stringRepresentation)
Creates a new account usability warning that is decoded from the provided
string representation.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Retrieves the integer value for this account usability warning.
|
java.lang.String |
getMessage()
Retrieves a human-readable message that provides specific details about
this account usability warning.
|
java.lang.String |
getName()
Retrieves the name for this account usability warning.
|
java.lang.String |
toString()
Retrieves a string representation of this account usability warning.
|
public static final int WARNING_TYPE_ACCOUNT_EXPIRING
public static final java.lang.String WARNING_NAME_ACCOUNT_EXPIRING
public static final int WARNING_TYPE_PASSWORD_EXPIRING
public static final java.lang.String WARNING_NAME_PASSWORD_EXPIRING
public static final int WARNING_TYPE_OUTSTANDING_BIND_FAILURES
public static final java.lang.String WARNING_NAME_OUTSTANDING_BIND_FAILURES
public static final int WARNING_TYPE_ACCOUNT_IDLE
public static final java.lang.String WARNING_NAME_ACCOUNT_IDLE
public static final int WARNING_TYPE_REQUIRE_PASSWORD_CHANGE_BY_TIME
public static final java.lang.String WARNING_NAME_REQUIRE_PASSWORD_CHANGE_BY_TIME
public PasswordPolicyStateAccountUsabilityWarning(int intValue, java.lang.String name, java.lang.String message)
intValue
- The integer value for this account usability warning.name
- The name for this account usability warning. It must not
be null
.message
- A human-readable message that provides specific details
about this account usability warning. It may be
null
if no message is available.public PasswordPolicyStateAccountUsabilityWarning(java.lang.String stringRepresentation) throws LDAPException
stringRepresentation
- The string representation of the account
usability warning to decode. It must not be
null
.LDAPException
- If the provided string cannot be decoded as a valid
account usability warning.public int getIntValue()
public java.lang.String getName()
public java.lang.String getMessage()
null
if no message is
available.public java.lang.String toString()
toString
in class java.lang.Object