Package org.keycloak.authentication
Class AuthenticationProcessor.Result
java.lang.Object
org.keycloak.authentication.AuthenticationProcessor.Result
- All Implemented Interfaces:
AbstractAuthenticationFlowContext,AuthenticationFlowContext,ClientAuthenticationFlowContext
- Enclosing class:
- AuthenticationProcessor
public class AuthenticationProcessor.Result
extends Object
implements AuthenticationFlowContext, ClientAuthenticationFlowContext
-
Method Summary
Modifier and TypeMethodDescriptionvoidattachUserSession(UserSessionModel userSession) voidvoidvoidchallenge(jakarta.ws.rs.core.Response challenge) voidvoidfailure(AuthenticationFlowError error) voidfailure(AuthenticationFlowError error, jakarta.ws.rs.core.Response challenge) voidfailure(AuthenticationFlowError error, jakarta.ws.rs.core.Response challenge, String eventDetails, String userErrorMessage) voidfailureChallenge(AuthenticationFlowError error, jakarta.ws.rs.core.Response challenge) voidforceChallenge(jakarta.ws.rs.core.Response challenge) voidfork()voidforkWithErrorMessage(FormMessage message) voidforkWithSuccessMessage(FormMessage message) form()getActionTokenUrl(String tokenString) getActionUrl(String code) getCategoryRequirementFromCurrentFlow(String authenticatorCategory) jakarta.ws.rs.core.ResponsegetError()getEvent()getRealm()getRefreshUrl(boolean authSessionIdParam) jakarta.ws.rs.core.UriInfogetUser()newEvent()voidvoidvoidsetAuthenticationSelections(List<AuthenticationSelectionOption> authenticationSelections) voidsetClient(ClientModel client) voidsetForwardedInfoMessage(String message, Object... parameters) voidvoidsuccess()void
-
Method Details
-
newEvent
- Specified by:
newEventin interfaceAbstractAuthenticationFlowContext
-
getCategoryRequirementFromCurrentFlow
public AuthenticationExecutionModel.Requirement getCategoryRequirementFromCurrentFlow(String authenticatorCategory) - Specified by:
getCategoryRequirementFromCurrentFlowin interfaceAbstractAuthenticationFlowContext
-
getExecution
- Specified by:
getExecutionin interfaceAbstractAuthenticationFlowContext
-
getTopLevelFlow
- Specified by:
getTopLevelFlowin interfaceAbstractAuthenticationFlowContext
-
getAuthenticatorConfig
- Specified by:
getAuthenticatorConfigin interfaceAbstractAuthenticationFlowContext
-
getAuthenticator
-
getStatus
- Specified by:
getStatusin interfaceAbstractAuthenticationFlowContext
-
getClientAuthenticator
-
success
public void success()- Specified by:
successin interfaceAbstractAuthenticationFlowContext
-
success
- Specified by:
successin interfaceAbstractAuthenticationFlowContext
-
failure
- Specified by:
failurein interfaceAbstractAuthenticationFlowContext
-
challenge
public void challenge(jakarta.ws.rs.core.Response challenge) - Specified by:
challengein interfaceAbstractAuthenticationFlowContext
-
forceChallenge
public void forceChallenge(jakarta.ws.rs.core.Response challenge) - Specified by:
forceChallengein interfaceAbstractAuthenticationFlowContext
-
failureChallenge
- Specified by:
failureChallengein interfaceAbstractAuthenticationFlowContext
-
failure
- Specified by:
failurein interfaceAbstractAuthenticationFlowContext
-
failure
public void failure(AuthenticationFlowError error, jakarta.ws.rs.core.Response challenge, String eventDetails, String userErrorMessage) - Specified by:
failurein interfaceAbstractAuthenticationFlowContext
-
attempted
public void attempted()- Specified by:
attemptedin interfaceAbstractAuthenticationFlowContext
-
getUser
- Specified by:
getUserin interfaceAuthenticationFlowContext
-
setUser
- Specified by:
setUserin interfaceAuthenticationFlowContext
-
getAuthenticationSelections
- Specified by:
getAuthenticationSelectionsin interfaceAuthenticationFlowContext
-
setAuthenticationSelections
public void setAuthenticationSelections(List<AuthenticationSelectionOption> authenticationSelections) - Specified by:
setAuthenticationSelectionsin interfaceAuthenticationFlowContext
-
clearUser
public void clearUser()- Specified by:
clearUserin interfaceAuthenticationFlowContext
-
getRealm
- Specified by:
getRealmin interfaceAbstractAuthenticationFlowContext
-
getClient
- Specified by:
getClientin interfaceClientAuthenticationFlowContext
-
setClient
- Specified by:
setClientin interfaceClientAuthenticationFlowContext
-
getClientAuthAttributes
- Specified by:
getClientAuthAttributesin interfaceClientAuthenticationFlowContext
-
getAuthenticationSession
- Specified by:
getAuthenticationSessionin interfaceAuthenticationFlowContext
-
getFlowPath
- Specified by:
getFlowPathin interfaceAuthenticationFlowContext
-
getConnection
- Specified by:
getConnectionin interfaceAbstractAuthenticationFlowContext
-
getUriInfo
public jakarta.ws.rs.core.UriInfo getUriInfo()- Specified by:
getUriInfoin interfaceAbstractAuthenticationFlowContext
-
getSession
- Specified by:
getSessionin interfaceAbstractAuthenticationFlowContext
-
getHttpRequest
- Specified by:
getHttpRequestin interfaceAbstractAuthenticationFlowContext
-
attachUserSession
- Specified by:
attachUserSessionin interfaceAuthenticationFlowContext
-
getProtector
- Specified by:
getProtectorin interfaceAbstractAuthenticationFlowContext
-
getEvent
- Specified by:
getEventin interfaceAbstractAuthenticationFlowContext
-
getForwardedErrorMessage
- Specified by:
getForwardedErrorMessagein interfaceAbstractAuthenticationFlowContext
-
generateAccessCode
- Specified by:
generateAccessCodein interfaceAbstractAuthenticationFlowContext
-
getChallenge
public jakarta.ws.rs.core.Response getChallenge() -
getError
- Specified by:
getErrorin interfaceAbstractAuthenticationFlowContext
-
form
- Specified by:
formin interfaceAuthenticationFlowContext
-
getActionUrl
- Specified by:
getActionUrlin interfaceAuthenticationFlowContext
-
getActionTokenUrl
- Specified by:
getActionTokenUrlin interfaceAuthenticationFlowContext
-
getRefreshExecutionUrl
- Specified by:
getRefreshExecutionUrlin interfaceAuthenticationFlowContext
-
getRefreshUrl
- Specified by:
getRefreshUrlin interfaceAuthenticationFlowContext
-
cancelLogin
public void cancelLogin()- Specified by:
cancelLoginin interfaceAuthenticationFlowContext
-
resetFlow
public void resetFlow()- Specified by:
resetFlowin interfaceAuthenticationFlowContext
-
resetFlow
- Specified by:
resetFlowin interfaceAuthenticationFlowContext
-
fork
public void fork()- Specified by:
forkin interfaceAuthenticationFlowContext
-
forkWithSuccessMessage
- Specified by:
forkWithSuccessMessagein interfaceAuthenticationFlowContext
-
forkWithErrorMessage
- Specified by:
forkWithErrorMessagein interfaceAuthenticationFlowContext
-
getForwardedSuccessMessage
- Specified by:
getForwardedSuccessMessagein interfaceAbstractAuthenticationFlowContext
-
setForwardedInfoMessage
- Specified by:
setForwardedInfoMessagein interfaceAbstractAuthenticationFlowContext
-
getForwardedInfoMessage
- Specified by:
getForwardedInfoMessagein interfaceAbstractAuthenticationFlowContext
-
getErrorMessage
-
getSuccessMessage
-
getEventDetails
- Specified by:
getEventDetailsin interfaceAbstractAuthenticationFlowContext
-
getUserErrorMessage
- Specified by:
getUserErrorMessagein interfaceAbstractAuthenticationFlowContext
-