Enum PasswordPolicyErrorType

java.lang.Object
java.lang.Enum<PasswordPolicyErrorType>
com.unboundid.ldap.sdk.unboundidds.controls.PasswordPolicyErrorType
All Implemented Interfaces:
Serializable, Comparable<PasswordPolicyErrorType>, java.lang.constant.Constable

This enum defines a set of error types that may be included in the password policy response control as defined in draft-behera-ldap-password-policy.
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.
  • Enum Constant Details

  • Method Details

    • values

      public static PasswordPolicyErrorType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PasswordPolicyErrorType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      Retrieves the human-readable name for this password policy error type.
      Returns:
      The human-readable name for this password policy error type.
    • intValue

      public int intValue()
      Retrieves the integer value for this password policy error type.
      Returns:
      The integer value for this password policy error type.
    • valueOf

      @Nullable public static PasswordPolicyErrorType valueOf(int intValue)
      Retrieves the password policy error type with the specified int value.
      Parameters:
      intValue - The numeric value associated with the error type.
      Returns:
      The associated error type, or null if there is no password policy error type with the specified set of values.
    • forName

      Retrieves the password policy error type with the specified name.
      Parameters:
      name - The name of the password policy error type to retrieve. It must not be null.
      Returns:
      The requested password policy error type, or null if no such type is defined.
    • toString

      Retrieves a string representation for this password policy error type.
      Overrides:
      toString in class Enum<PasswordPolicyErrorType>
      Returns:
      A string representation for this password policy error type.