Class PasswordPolicyStateAccountUsabilityWarning

java.lang.Object
com.unboundid.ldap.sdk.unboundidds.extensions.PasswordPolicyStateAccountUsabilityWarning
All Implemented Interfaces:
Serializable

This class defines a data structure that will provide information about warnings that may affect an account's usability. It includes a number of predefined warning types, but also allows for the possibility of additional warning types that have not been defined.
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.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name for the warning type that indicates the user's account is about to expire.
    static final String
    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 final String
    The numeric value for the warning type that indicates that the user's account has a password that is encoded with a deprecated password storage scheme.
    static final String
    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 final String
    The name for the warning type that indicates the user's password is about to expire.
    static final String
    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 final String
    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 (although it may still have an effect on their account's usability).
    static final int
    The numeric value for the warning type that indicates the user's account is about to expire.
    static final int
    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 final int
    The numeric value for the warning type that indicates that the user's account has a password that is encoded with a deprecated password storage scheme.
    static final int
    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 final int
    The numeric value for the warning type that indicates the user's password is about to expire.
    static final int
    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.
    static final int
    The numeric value 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 (although it may still have an effect on their account's usability).
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new account usability warning with the provided information.
    Creates a new account usability warning that is decoded from the provided string representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Retrieves the integer value for this account usability warning.
    Retrieves a human-readable message that provides specific details about this account usability warning.
    Retrieves the name for this account usability warning.
    Retrieves a string representation of this account usability warning.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • PasswordPolicyStateAccountUsabilityWarning

      Creates a new account usability warning with the provided information.
      Parameters:
      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.
    • PasswordPolicyStateAccountUsabilityWarning

      Creates a new account usability warning that is decoded from the provided string representation.
      Parameters:
      stringRepresentation - The string representation of the account usability warning to decode. It must not be null.
      Throws:
      LDAPException - If the provided string cannot be decoded as a valid account usability warning.
  • Method Details

    • getIntValue

      public int getIntValue()
      Retrieves the integer value for this account usability warning.
      Returns:
      The integer value for this account usability warning.
    • getName

      Retrieves the name for this account usability warning.
      Returns:
      The name for this account usability warning.
    • getMessage

      Retrieves a human-readable message that provides specific details about this account usability warning.
      Returns:
      A human-readable message that provides specific details about this account usability warning, or null if no message is available.
    • toString

      Retrieves a string representation of this account usability warning.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this account usability warning.