@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 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 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.
|
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
public static final java.lang.String NOTICE_NAME_OUTSTANDING_RETIRED_PASSWORD
public static final int NOTICE_TYPE_OUTSTANDING_ONE_TIME_PASSWORD
public static final java.lang.String NOTICE_NAME_OUTSTANDING_ONE_TIME_PASSWORD
public static final int NOTICE_TYPE_OUTSTANDING_PASSWORD_RESET_TOKEN
public static final java.lang.String NOTICE_NAME_OUTSTANDING_PASSWORD_RESET_TOKEN
public static final int NOTICE_TYPE_IN_MINIMUM_PASSWORD_AGE
public static final java.lang.String NOTICE_NAME_IN_MINIMUM_PASSWORD_AGE
public static final int NOTICE_TYPE_NO_STATIC_PASSWORD
public static final java.lang.String NOTICE_NAME_NO_STATIC_PASSWORD
public PasswordPolicyStateAccountUsabilityNotice(int intValue, java.lang.String name, 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(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()
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