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.Authenticator
createAuthenticator(org.keycloak.authentication.AuthenticatorFactory factory)
List<org.keycloak.authentication.AuthenticationFlowException>
getFlowExceptions()
protected static boolean
isProcessed(AuthenticationProcessor processor, org.keycloak.models.AuthenticationExecutionModel model)
protected boolean
isProcessed(org.keycloak.models.AuthenticationExecutionModel model)
boolean
isSuccessful()
javax.ws.rs.core.Response
processAction(String actionExecution)
javax.ws.rs.core.Response
processFlow()
javax.ws.rs.core.Response
processResult(AuthenticationProcessor.Result result, boolean isAction)
javax.ws.rs.core.Response
sendChallenge(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:
processAction
in interfaceorg.keycloak.authentication.AuthenticationFlow
-
processFlow
public javax.ws.rs.core.Response processFlow()
- Specified by:
processFlow
in 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:
isSuccessful
in interfaceorg.keycloak.authentication.AuthenticationFlow
-
getFlowExceptions
public List<org.keycloak.authentication.AuthenticationFlowException> getFlowExceptions()
- Specified by:
getFlowExceptions
in interfaceorg.keycloak.authentication.AuthenticationFlow
-
-