@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum GeneratePasswordPolicySelectionType extends java.lang.Enum<GeneratePasswordPolicySelectionType>
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 and Description |
---|
DEFAULT_POLICY
The selection type that indicates that the server should use the default
password policy as defined in the configuration.
|
PASSWORD_POLICY_DN
The selection type that indicates that the server should use the password
policy that is defined in a specified entry.
|
TARGET_ENTRY_DN
The selection type that indicates that the server should use the password
policy that governs a specified entry.
|
Modifier and Type | Method and Description |
---|---|
static GeneratePasswordPolicySelectionType |
forType(byte berType)
Retrieves the password policy selection type with the specified BER type.
|
byte |
getBERType()
Retrieves the BER type that will be used to identify this password policy
selection type in a
GeneratePasswordExtendedRequest . |
static GeneratePasswordPolicySelectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeneratePasswordPolicySelectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneratePasswordPolicySelectionType DEFAULT_POLICY
public static final GeneratePasswordPolicySelectionType PASSWORD_POLICY_DN
public static final GeneratePasswordPolicySelectionType TARGET_ENTRY_DN
public static GeneratePasswordPolicySelectionType[] values()
for (GeneratePasswordPolicySelectionType c : GeneratePasswordPolicySelectionType.values()) System.out.println(c);
public static GeneratePasswordPolicySelectionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte getBERType()
GeneratePasswordExtendedRequest
.@Nullable public static GeneratePasswordPolicySelectionType forType(byte berType)
berType
- The BER type for the password policy selection type to
retrieve.null
if there is no selection type with the provided
BER type.