Package org.keycloak.authentication
Class DefaultAuthenticationFlow
- java.lang.Object
-
- org.keycloak.authentication.DefaultAuthenticationFlow
-
- All Implemented Interfaces:
AuthenticationFlow
public class DefaultAuthenticationFlow extends Object implements 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
Constructors Constructor Description DefaultAuthenticationFlow(AuthenticationProcessor processor, AuthenticationFlowModel flow)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AuthenticatorcreateAuthenticator(AuthenticatorFactory factory)List<AuthenticationFlowException>getFlowExceptions()protected static booleanisProcessed(AuthenticationProcessor processor, AuthenticationExecutionModel model)protected booleanisProcessed(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, AuthenticationExecutionModel execution)
-
-
-
Constructor Detail
-
DefaultAuthenticationFlow
public DefaultAuthenticationFlow(AuthenticationProcessor processor, AuthenticationFlowModel flow)
-
-
Method Detail
-
isProcessed
protected boolean isProcessed(AuthenticationExecutionModel model)
-
isProcessed
protected static boolean isProcessed(AuthenticationProcessor processor, AuthenticationExecutionModel model)
-
createAuthenticator
protected Authenticator createAuthenticator(AuthenticatorFactory factory)
-
processAction
public javax.ws.rs.core.Response processAction(String actionExecution)
- Specified by:
processActionin interfaceAuthenticationFlow
-
processFlow
public javax.ws.rs.core.Response processFlow()
- Specified by:
processFlowin interfaceAuthenticationFlow
-
processResult
public javax.ws.rs.core.Response processResult(AuthenticationProcessor.Result result, boolean isAction)
-
sendChallenge
public javax.ws.rs.core.Response sendChallenge(AuthenticationProcessor.Result result, AuthenticationExecutionModel execution)
-
isSuccessful
public boolean isSuccessful()
- Specified by:
isSuccessfulin interfaceAuthenticationFlow
-
getFlowExceptions
public List<AuthenticationFlowException> getFlowExceptions()
- Specified by:
getFlowExceptionsin interfaceAuthenticationFlow
-
-