@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public HandlerMapping logoutFlowHandlerMapping(
            @Qualifier(CasWebflowConstants.BEAN_NAME_FLOW_DEFINITION_REGISTRY)
            final FlowDefinitionRegistry flowDefinitionRegistry,
            @Qualifier("logoutFlowUrlHandler")
            final FlowUrlHandler logoutFlowUrlHandler,
            @Qualifier("localeChangeInterceptor")
            final HandlerInterceptor localeChangeInterceptor,
            @Qualifier("resourceUrlProviderExposingInterceptor")
            final HandlerInterceptor resourceUrlProviderExposingInterceptor) {
            val handler = new CasFlowHandlerMapping();
            handler.setFlowUrlHandler(logoutFlowUrlHandler);
            handler.setOrder(LOGOUT_FLOW_HANDLER_ORDER);
            handler.setFlowRegistry(flowDefinitionRegistry);
            handler.setInterceptors(localeChangeInterceptor, resourceUrlProviderExposingInterceptor);
            return handler;
        }
This is {@link CasWebflowContextConfiguration} that attempts to create Spring-managed beans
backed by external configuration.

@author Misagh Moayyed
@since 5.0.0
core/cas-server-core-webflow/src/main/java/org/apereo/cas/config/CasWebflowContextConfiguration.java