@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class PasswordPolicyStateAccountUsabilityNotice 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 |
NOTICE_NAME_IN_MINIMUM_PASSWORD_AGE
The name for the notice type that indicates the user is not currently
allowed to change his/her password because they are within the minimum
password age.
|
static java.lang.String |
NOTICE_NAME_NO_STATIC_PASSWORD
The name for the notice type that indicates that the user does not have a
static password.
|
static java.lang.String |
NOTICE_NAME_OUTSTANDING_ONE_TIME_PASSWORD
The name for the notice type that indicates the user has a valid
outstanding one-time password.
|
static java.lang.String |
NOTICE_NAME_OUTSTANDING_PASSWORD_RESET_TOKEN
The name for the notice type that indicates the user has a valid
outstanding password reset token that will expire in the near future.
|
static java.lang.String |
NOTICE_NAME_OUTSTANDING_RETIRED_PASSWORD
The name for the notice type that indicates the user user has a valid
outstanding retired password.
|
static java.lang.String |
NOTICE_NAME_TOO_MANY_OUTSTANDING_BIND_FAILURES
The name for the warning type that indicates that although the user's
account should be locked as a result of too many outstanding failed
authentication attempts, their password policy is configured with a failure
lockout action that will not prevent them from authenticating, and should
not otherwise have an effect on the usability of their account.
|
static int |
NOTICE_TYPE_IN_MINIMUM_PASSWORD_AGE
The numeric value for the notice type that indicates the user is not
currently allowed to change his/her password because they are within the
minimum password age.
|
static int |
NOTICE_TYPE_NO_STATIC_PASSWORD
The numeric value for the notice type that indicates that the user does not
have a static password.
|
static int |
NOTICE_TYPE_OUTSTANDING_ONE_TIME_PASSWORD
The numeric value for the notice type that indicates the user has a valid
outstanding one-time password.
|
static int |
NOTICE_TYPE_OUTSTANDING_PASSWORD_RESET_TOKEN
The numeric value for the notice type that indicates the user has a valid
outstanding password reset token.
|
static int |
NOTICE_TYPE_OUTSTANDING_RETIRED_PASSWORD
The numeric value for the notice type that indicates the user has a valid
outstanding retired password.
|
static int |
NOTICE_TYPE_TOO_MANY_OUTSTANDING_BIND_FAILURES
The numeric value for the notice type that indicates that although the
user's account should be locked as a result of too many outstanding
failed authentication attempts, their password policy is configured with a
failure lockout action that will not prevent them from authenticating, and
should not otherwise have an effect on the usability of their account.
|
Constructor and Description |
---|
PasswordPolicyStateAccountUsabilityNotice(int intValue,
java.lang.String name,
java.lang.String message)
Creates a new account usability notice with the provided information.
|
PasswordPolicyStateAccountUsabilityNotice(java.lang.String stringRepresentation)
Creates a new account usability notice that is decoded from the provided
string representation.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Retrieves the integer value for this account usability notice.
|
java.lang.String |
getMessage()
Retrieves a human-readable message that provides specific details about
this account usability notice.
|
java.lang.String |
getName()
Retrieves the name for this account usability notice.
|
java.lang.String |
toString()
Retrieves a string representation of this account usability notice.
|
public static final int NOTICE_TYPE_OUTSTANDING_RETIRED_PASSWORD
@NotNull public static final java.lang.String NOTICE_NAME_OUTSTANDING_RETIRED_PASSWORD
public static final int NOTICE_TYPE_OUTSTANDING_ONE_TIME_PASSWORD
@NotNull public static final java.lang.String NOTICE_NAME_OUTSTANDING_ONE_TIME_PASSWORD
public static final int NOTICE_TYPE_OUTSTANDING_PASSWORD_RESET_TOKEN
@NotNull public static final java.lang.String NOTICE_NAME_OUTSTANDING_PASSWORD_RESET_TOKEN
public static final int NOTICE_TYPE_IN_MINIMUM_PASSWORD_AGE
@NotNull public static final java.lang.String NOTICE_NAME_IN_MINIMUM_PASSWORD_AGE
public static final int NOTICE_TYPE_NO_STATIC_PASSWORD
@NotNull public static final java.lang.String NOTICE_NAME_NO_STATIC_PASSWORD
public static final int NOTICE_TYPE_TOO_MANY_OUTSTANDING_BIND_FAILURES
@NotNull public static final java.lang.String NOTICE_NAME_TOO_MANY_OUTSTANDING_BIND_FAILURES
public PasswordPolicyStateAccountUsabilityNotice(int intValue, @NotNull java.lang.String name, @Nullable java.lang.String message)
intValue
- The integer value for this account usability notice.name
- The name for this account usability notice. It must not
be null
.message
- A human-readable message that provides specific details
about this account usability notice. It may be
null
if no message is available.public PasswordPolicyStateAccountUsabilityNotice(@NotNull java.lang.String stringRepresentation) throws LDAPException
stringRepresentation
- The string representation of the account
usability notice to decode. It must not be
null
.LDAPException
- If the provided string cannot be decoded as a valid
account usability notice.public int getIntValue()
@NotNull public java.lang.String getName()
@Nullable public java.lang.String getMessage()
null
if no message is
available.