Enum PasswordValidationDetailsResponseType
java.lang.Object
java.lang.Enum<PasswordValidationDetailsResponseType>
com.unboundid.ldap.sdk.unboundidds.controls.PasswordValidationDetailsResponseType
- All Implemented Interfaces:
Serializable,Comparable<PasswordValidationDetailsResponseType>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum PasswordValidationDetailsResponseType
extends Enum<PasswordValidationDetailsResponseType>
This enum defines the set of response types that can be used in the
password validation details response control.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe response type that indicates that the server was unable to provide validation results because the associated request included multiple passwords.The response type that indicates that the server was unable to provide validation results because the associated request did not include any password.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.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. -
Method Summary
Modifier and TypeMethodDescriptionforBERType(byte berType) Retrieves the password validation details response type with the specified BER type.Retrieves the password validation details response type with the specified name.byteRetrieves the BER type that will be used for this response type in an encoded password validation details response control.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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. -
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. -
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_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.
-
-
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 nameNullPointerException- if the argument is null
-
getBERType
Retrieves the BER type that will be used for this response type in an encoded password validation details response control.- Returns:
- The BER type that will be used for this response type in an encoded password validation details response control.
-
forBERType
Retrieves the password validation details response type with the specified BER type.- Parameters:
berType- The BER type for the password validation details response type to retrieve.- Returns:
- The password validation details response type with the specified
BER type, or
nullif there is no response type with the specified BER type.
-
forName
Retrieves the password validation details response type with the specified name.- Parameters:
name- The name of the password validation details response type to retrieve. It must not benull.- Returns:
- The requested password validation details response type, or
nullif no such type is defined.
-