Interface InteractiveAuthenticationProcessor
public interface InteractiveAuthenticationProcessor
Handles authentication results for interactive authentications (typically over some web binding).
Supports features like remember me etc.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interfaceUsed to prevent from session fixation attack. -
Method Summary
Modifier and TypeMethodDescriptionprocessFirstFactorResult(AuthenticationResult result, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, boolean setRememberMe, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, InteractiveAuthenticationProcessor.SessionReinitializer sessionReinitializer) processFirstFactorSandboxAuthnResult(SandboxAuthenticationResult result, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, jakarta.servlet.http.HttpServletRequest httpRequest, SandboxAuthnRouter sandboxRouter) processRemoteRegistrationResult(AuthenticationResult result, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, jakarta.servlet.http.HttpServletRequest httpRequest) processSecondFactorResult(PartialAuthnState state, AuthenticationResult secondFactorResult, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, boolean setRememberMe, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, InteractiveAuthenticationProcessor.SessionReinitializer sessionReinitializer) processSecondFactorSandboxAuthnResult(PartialAuthnState state, SandboxAuthenticationResult secondFactorResult, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, jakarta.servlet.http.HttpServletRequest httpRequest, SandboxAuthnRouter sandboxRouter) voidsyntheticAuthenticate(RemotelyAuthenticatedInput authnInput, AuthenticatedEntity authenticatedEntity, List<SessionParticipant> participants, pl.edu.icm.unity.base.authn.AuthenticationOptionKey authnOptionKey, pl.edu.icm.unity.base.authn.AuthenticationRealm realm, RememberMeToken.LoginMachineDetails machineDetails, boolean setRememberMe, jakarta.servlet.http.HttpServletResponse httpResponse, InteractiveAuthenticationProcessor.SessionReinitializer sessionReinitializer)
-
Method Details
-
processFirstFactorResult
InteractiveAuthenticationProcessor.PostAuthenticationStepDecision processFirstFactorResult(AuthenticationResult result, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, boolean setRememberMe, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, InteractiveAuthenticationProcessor.SessionReinitializer sessionReinitializer) -
processSecondFactorResult
InteractiveAuthenticationProcessor.PostAuthenticationStepDecision processSecondFactorResult(PartialAuthnState state, AuthenticationResult secondFactorResult, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, boolean setRememberMe, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, InteractiveAuthenticationProcessor.SessionReinitializer sessionReinitializer) -
processRemoteRegistrationResult
InteractiveAuthenticationProcessor.PostAuthenticationStepDecision processRemoteRegistrationResult(AuthenticationResult result, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, jakarta.servlet.http.HttpServletRequest httpRequest) -
processFirstFactorSandboxAuthnResult
InteractiveAuthenticationProcessor.PostAuthenticationStepDecision processFirstFactorSandboxAuthnResult(SandboxAuthenticationResult result, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, jakarta.servlet.http.HttpServletRequest httpRequest, SandboxAuthnRouter sandboxRouter) -
processSecondFactorSandboxAuthnResult
InteractiveAuthenticationProcessor.PostAuthenticationStepDecision processSecondFactorSandboxAuthnResult(PartialAuthnState state, SandboxAuthenticationResult secondFactorResult, AuthenticationStepContext stepContext, RememberMeToken.LoginMachineDetails machineDetails, jakarta.servlet.http.HttpServletRequest httpRequest, SandboxAuthnRouter sandboxRouter) -
syntheticAuthenticate
void syntheticAuthenticate(RemotelyAuthenticatedInput authnInput, AuthenticatedEntity authenticatedEntity, List<SessionParticipant> participants, pl.edu.icm.unity.base.authn.AuthenticationOptionKey authnOptionKey, pl.edu.icm.unity.base.authn.AuthenticationRealm realm, RememberMeToken.LoginMachineDetails machineDetails, boolean setRememberMe, jakarta.servlet.http.HttpServletResponse httpResponse, InteractiveAuthenticationProcessor.SessionReinitializer sessionReinitializer)
-