keycloak-scim/services/src/main/java/org/keycloak/authentication/FlowStatus.java

61 lines
1.5 KiB
Java
Raw Normal View History

2015-08-11 17:04:40 +00:00
package org.keycloak.authentication;
/**
* Status of an execution/authenticator in a Authentication Flow
*
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public enum FlowStatus {
/**
* Successful execution
*/
SUCCESS,
/**
* 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.
*
*/
CHALLENGE,
/**
* Irregardless of the execution's requirement, this challenge will be sent to the user.
*
*/
FORCE_CHALLENGE,
/**
* Flow will be aborted and a Response provided by the execution will be sent.
*
*/
FAILURE_CHALLENGE,
/**
* Flow will be aborted.
*
*/
FAILED,
/**
* 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.
*
*/
2015-08-16 19:20:16 +00:00
ATTEMPTED,
/**
2015-08-20 21:43:37 +00:00
* This flow is being forked. The current client session is being cloned, reset, and redirected to browser login.
2015-08-16 19:20:16 +00:00
*
*/
2015-10-14 15:49:36 +00:00
FORK,
/**
* 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.
*
*/
FLOW_RESET
2015-08-11 17:04:40 +00:00
}