Package org.keycloak.authentication
Enum Class FlowStatus
- All Implemented Interfaces:
Serializable
,Comparable<FlowStatus>
,Constable
Status of an execution/authenticator in a Authentication Flow
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis is not an error condition.Execution offered a challenge.Flow will be aborted.Flow will be aborted and a Response provided by the execution will be sent.This flow was reset to the beginning.Regardless of the execution's requirement, this challenge will be sent to the user.This flow is being forked.Successful execution -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowStatus
Returns the enum constant of this class with the specified name.static FlowStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Successful execution -
CHALLENGE
Execution offered a challenge. Optional executions will ignore this challenge. Alternative executions may ignore the challenge depending on the status of other executions in the flow. -
FORCE_CHALLENGE
Regardless of the execution's requirement, this challenge will be sent to the user. -
FAILURE_CHALLENGE
Flow will be aborted and a Response provided by the execution will be sent. -
FAILED
Flow will be aborted. -
ATTEMPTED
This is not an error condition. Execution was attempted, but the authenticator is unable to process the request. An example of this is if a Kerberos authenticator did not see a negotiate header. There was no error, but the execution was attempted. -
FORK
This flow is being forked. The current authentication session is being cloned, reset, and redirected to browser login. -
FLOW_RESET
This flow was reset to the beginning. An example is hitting cancel on the OTP page which will bring you back to the username password page.
-
-
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
-