@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum PasswordValidationDetailsResponseType extends java.lang.Enum<PasswordValidationDetailsResponseType>
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 |
---|
MULTIPLE_PASSWORDS_PROVIDED
The response type that indicates that the server was unable to provide
validation results because the associated request included multiple
passwords.
|
NO_PASSWORD_PROVIDED
The response type that indicates that the server was unable to provide
validation results because the associated request did not include any
password.
|
NO_VALIDATION_ATTEMPTED
The response type that indicates that the server encountered a problem with
the request that caused processing to end before any password validation
was attempted.
|
VALIDATION_DETAILS
The response type that indicates that the server was able to perform
validation against the proposed password, and that the response includes
a set of validation results.
|
Modifier and Type | Method and Description |
---|---|
static PasswordValidationDetailsResponseType |
forBERType(byte berType)
Retrieves the password validation details response type with the specified
BER type.
|
static PasswordValidationDetailsResponseType |
forName(java.lang.String name)
Retrieves the password validation details response type with the specified
name.
|
byte |
getBERType()
Retrieves the BER type that will be used for this response type in an
encoded password validation details response control.
|
static PasswordValidationDetailsResponseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PasswordValidationDetailsResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordValidationDetailsResponseType VALIDATION_DETAILS
public static final PasswordValidationDetailsResponseType NO_PASSWORD_PROVIDED
public static final PasswordValidationDetailsResponseType MULTIPLE_PASSWORDS_PROVIDED
public static final PasswordValidationDetailsResponseType NO_VALIDATION_ATTEMPTED
public static PasswordValidationDetailsResponseType[] values()
for (PasswordValidationDetailsResponseType c : PasswordValidationDetailsResponseType.values()) System.out.println(c);
public static PasswordValidationDetailsResponseType 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()
@Nullable public static PasswordValidationDetailsResponseType forBERType(byte berType)
berType
- The BER type for the password validation details response
type to retrieve.null
if there is no response type with the
specified BER type.@Nullable public static PasswordValidationDetailsResponseType forName(@NotNull java.lang.String name)
name
- The name of the password validation details response type to
retrieve. It must not be null
.null
if no such type is defined.