Package org.keycloak.authentication
Class DefaultAuthenticationFlow
java.lang.Object
org.keycloak.authentication.DefaultAuthenticationFlow
- All Implemented Interfaces:
org.keycloak.authentication.AuthenticationFlow
public class DefaultAuthenticationFlow
extends Object
implements org.keycloak.authentication.AuthenticationFlow
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields inherited from interface org.keycloak.authentication.AuthenticationFlow
BASIC_FLOW, CLIENT_FLOW, FORM_FLOW -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAuthenticationFlow(AuthenticationProcessor processor, org.keycloak.models.AuthenticationFlowModel flow) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.keycloak.authentication.AuthenticatorcreateAuthenticator(org.keycloak.authentication.AuthenticatorFactory factory) List<org.keycloak.authentication.AuthenticationFlowException>protected static booleanisProcessed(AuthenticationProcessor processor, org.keycloak.models.AuthenticationExecutionModel model) protected booleanisProcessed(org.keycloak.models.AuthenticationExecutionModel model) booleanjakarta.ws.rs.core.ResponseprocessAction(String actionExecution) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponseprocessResult(AuthenticationProcessor.Result result, boolean isAction) jakarta.ws.rs.core.ResponsesendChallenge(AuthenticationProcessor.Result result, org.keycloak.models.AuthenticationExecutionModel execution)
-
Constructor Details
-
DefaultAuthenticationFlow
public DefaultAuthenticationFlow(AuthenticationProcessor processor, org.keycloak.models.AuthenticationFlowModel flow)
-
-
Method Details
-
isProcessed
protected boolean isProcessed(org.keycloak.models.AuthenticationExecutionModel model) -
isProcessed
protected static boolean isProcessed(AuthenticationProcessor processor, org.keycloak.models.AuthenticationExecutionModel model) -
createAuthenticator
protected org.keycloak.authentication.Authenticator createAuthenticator(org.keycloak.authentication.AuthenticatorFactory factory) -
processAction
- Specified by:
processActionin interfaceorg.keycloak.authentication.AuthenticationFlow
-
processFlow
public jakarta.ws.rs.core.Response processFlow()- Specified by:
processFlowin interfaceorg.keycloak.authentication.AuthenticationFlow
-
processResult
public jakarta.ws.rs.core.Response processResult(AuthenticationProcessor.Result result, boolean isAction) -
sendChallenge
public jakarta.ws.rs.core.Response sendChallenge(AuthenticationProcessor.Result result, org.keycloak.models.AuthenticationExecutionModel execution) -
isSuccessful
public boolean isSuccessful()- Specified by:
isSuccessfulin interfaceorg.keycloak.authentication.AuthenticationFlow
-
getFlowExceptions
- Specified by:
getFlowExceptionsin interfaceorg.keycloak.authentication.AuthenticationFlow
-