@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "riskVerificationFlowHandlerMapping")
        public HandlerMapping riskVerificationFlowHandlerMapping(
            @Qualifier("riskVerificationWebflowUrlHandler")
            final FlowUrlHandler riskVerificationWebflowUrlHandler,
            @Qualifier(CasWebflowExecutionPlan.BEAN_NAME)
            final CasWebflowExecutionPlan webflowExecutionPlan,
            @Qualifier(CasWebflowConstants.BEAN_NAME_FLOW_DEFINITION_REGISTRY)
            final FlowDefinitionRegistry flowDefinitionRegistry) {
            val handler = new CasFlowHandlerMapping();
            handler.setOrder(0);
            handler.setFlowUrlHandler(riskVerificationWebflowUrlHandler);
            handler.setFlowRegistry(flowDefinitionRegistry);
            handler.setInterceptors(webflowExecutionPlan.getWebflowInterceptors().toArray());
            return handler;
        }
This is {@link ElectronicFenceWebflowConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-electrofence/src/main/java/org/apereo/cas/config/ElectronicFenceWebflowConfiguration.java