protected Event routeToMultifactorAuthenticationProvider(final RequestContext requestContext,
                                                             final Principal resolvedPrincipal,
                                                             final MultifactorAuthenticationProvider provider) {
        val authentication = DefaultAuthenticationBuilder.newInstance().setPrincipal(resolvedPrincipal).build();
        WebUtils.putAuthentication(authentication, requestContext);
        val builder = authenticationSystemSupport.getAuthenticationResultBuilderFactory().newBuilder();
        val authenticationResult = builder.collect(authentication);
        WebUtils.putAuthenticationResultBuilder(authenticationResult, requestContext);
        WebUtils.putTargetTransition(requestContext, CasWebflowConstants.TRANSITION_ID_RESUME_RESET_PASSWORD);
        MultifactorAuthenticationWebflowUtils.putMultifactorAuthenticationProvider(requestContext, provider);
        return eventFactory.event(this, provider.getId(),
            new LocalAttributeMap<>(Map.of(MultifactorAuthenticationProvider.class.getName(), provider)));
    }
This is {@link InitPasswordResetAction}, serves a as placeholder for extensions.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-pm-webflow/src/main/java/org/apereo/cas/pm/web/flow/actions/InitPasswordResetAction.java