@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @Bean
        @ConditionalOnMissingBean(name = "riskVerificationWebflowHandlerAdapter")
        public HandlerAdapter riskVerificationWebflowHandlerAdapter(
            @Qualifier(CasWebflowExecutionPlan.BEAN_NAME)
            final CasWebflowExecutionPlan webflowExecutionPlan,
            @Qualifier("riskVerificationWebflowUrlHandler")
            final FlowUrlHandler riskVerificationWebflowUrlHandler,
            final ConfigurableApplicationContext applicationContext,
            @Qualifier("riskVerificationFlowExecutor")
            final FlowExecutor riskVerificationFlowExecutor) {
            val handler = new CasFlowHandlerAdapter(CasWebflowConfigurer.FLOW_ID_RISK_VERIFICATION, webflowExecutionPlan);
            handler.setFlowExecutor(riskVerificationFlowExecutor);
            handler.setFlowUrlHandler(riskVerificationWebflowUrlHandler);
            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