/** * Selects an active result and completes processing. * * @param profileRequestContext the current IdP profile request context * @param authenticationContext the current authentication context * @param result the result to reuse */ private void selectActiveResult(@Nonnull final ProfileRequestContext profileRequestContext, @Nonnull final AuthenticationContext authenticationContext, @Nonnull final AuthenticationResult result) { log.debug("{} Reusing active result {}", getLogPrefix(), result.getAuthenticationFlowId()); result.setLastActivityInstantToNow(); authenticationContext.setAuthenticationResult(result); ActionSupport.buildProceedEvent(profileRequestContext); }
authenticationContext.setAuthenticationResult(result);
result.getAuthenticationFlowId()); authenticationContext.setAuthenticationResult(null);
authenticationContext.setAuthenticationResult(result);