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
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticationFlow(AuthenticationProcessor processor, org.keycloak.models.AuthenticationFlowModel flow)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.keycloak.authentication.AuthenticatorcreateAuthenticator(org.keycloak.authentication.AuthenticatorFactory factory)List<org.keycloak.authentication.AuthenticationFlowException>getFlowExceptions()protected static booleanisProcessed(AuthenticationProcessor processor, org.keycloak.models.AuthenticationExecutionModel model)protected booleanisProcessed(org.keycloak.models.AuthenticationExecutionModel model)booleanisSuccessful()javax.ws.rs.core.ResponseprocessAction(String actionExecution)javax.ws.rs.core.ResponseprocessFlow()javax.ws.rs.core.ResponseprocessResult(AuthenticationProcessor.Result result, boolean isAction)javax.ws.rs.core.ResponsesendChallenge(AuthenticationProcessor.Result result, org.keycloak.models.AuthenticationExecutionModel execution)
-
-
-
Constructor Detail
-
DefaultAuthenticationFlow
public DefaultAuthenticationFlow(AuthenticationProcessor processor, org.keycloak.models.AuthenticationFlowModel flow)
-
-
Method Detail
-
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
public javax.ws.rs.core.Response processAction(String actionExecution)
- Specified by:
processActionin interfaceorg.keycloak.authentication.AuthenticationFlow
-
processFlow
public javax.ws.rs.core.Response processFlow()
- Specified by:
processFlowin interfaceorg.keycloak.authentication.AuthenticationFlow
-
processResult
public javax.ws.rs.core.Response processResult(AuthenticationProcessor.Result result, boolean isAction)
-
sendChallenge
public javax.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
public List<org.keycloak.authentication.AuthenticationFlowException> getFlowExceptions()
- Specified by:
getFlowExceptionsin interfaceorg.keycloak.authentication.AuthenticationFlow
-
-