@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @Bean
        @ConditionalOnMissingBean(name = "samlIdPAuthenticationContextWebflowEventResolver")
        @Lazy(false)
        public CasWebflowEventResolver samlIdPAuthenticationContextWebflowEventResolver(
            @Qualifier("samlIdPMultifactorAuthenticationTrigger")
            final MultifactorAuthenticationTrigger samlIdPMultifactorAuthenticationTrigger,
            @Qualifier(CasDelegatingWebflowEventResolver.BEAN_NAME_INITIAL_AUTHENTICATION_EVENT_RESOLVER)
            final CasDelegatingWebflowEventResolver initialAuthenticationAttemptWebflowEventResolver,
            @Qualifier(CasWebflowEventResolutionConfigurationContext.BEAN_NAME)
            final CasWebflowEventResolutionConfigurationContext casWebflowConfigurationContext) {
            val r = new DefaultMultifactorAuthenticationProviderWebflowEventResolver(casWebflowConfigurationContext,
                samlIdPMultifactorAuthenticationTrigger);
            Objects.requireNonNull(initialAuthenticationAttemptWebflowEventResolver).addDelegate(r);
            return r;
        }
This is {@link SamlIdPWebflowConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-saml-idp/src/main/java/org/apereo/cas/config/SamlIdPWebflowConfiguration.java