Package org.keycloak.models
Enum Class CredentialValidationOutput.Status
java.lang.Object
java.lang.Enum<CredentialValidationOutput.Status>
org.keycloak.models.CredentialValidationOutput.Status
- All Implemented Interfaces:
Serializable
,Comparable<CredentialValidationOutput.Status>
,Constable
- Enclosing class:
- CredentialValidationOutput
public static enum CredentialValidationOutput.Status
extends Enum<CredentialValidationOutput.Status>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUser was successfully authenticated.Federation provider did not fully authenticate user.Federation provider failed to authenticate user.Federation provider was not able to recognize the user. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CredentialValidationOutput.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTHENTICATED
User was successfully authenticated. TheCredentialValidationOutput.getAuthenticatedUser()
must return authenticated user when this is used -
FAILED
Federation provider failed to authenticate user. This is typically used when user storage provider recognizes the user, but credentials are incorrect, so federation provider can mark whole authentication as not successful without eventual fallback to other user storage provider -
FALLBACK
Federation provider was not able to recognize the user. It is possible that credential was valid, but fereration provider was not able to lookup the user in it's storage. Fallback to other user storage provider in the chain might be possible -
CONTINUE
Federation provider did not fully authenticate user. It may be needed to ask user for further challenge to then re-try authentication with same federation provider
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-