Enum GeneratePasswordPolicySelectionType

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

This enum describes the mechanism that the server should use when selecting the password policy to use (for its password generator and validators) while processing a GeneratePasswordExtendedRequest.
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

      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

      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
    • getBERType

      public byte getBERType()
      Retrieves the BER type that will be used to identify this password policy selection type in a GeneratePasswordExtendedRequest.
      Returns:
      The BER type that will be used to identify this password policy selection type in a generate password extended request.
    • forType

      Retrieves the password policy selection type with the specified BER type.
      Parameters:
      berType - The BER type for the password policy selection type to retrieve.
      Returns:
      The password policy selection type with the specified BER type, or null if there is no selection type with the provided BER type.