Module jakarta.security
Enum CredentialValidationResult.Status
java.lang.Object
java.lang.Enum<CredentialValidationResult.Status>
jakarta.security.enterprise.identitystore.CredentialValidationResult.Status
- All Implemented Interfaces:
Serializable
,Comparable<CredentialValidationResult.Status>
,java.lang.constant.Constable
- Enclosing class:
CredentialValidationResult
public static enum CredentialValidationResult.Status
extends Enum<CredentialValidationResult.Status>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the credential is not valid after a validation attempt.Indicates that the credential could not be validatedIndicates that the credential is valid after a validation attempt. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static CredentialValidationResult.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_VALIDATED
Indicates that the credential could not be validated -
INVALID
Indicates that the credential is not valid after a validation attempt. -
VALID
Indicates that the credential is valid after a validation attempt.
-
-
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
-