@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public HandlerMapping accountProfileFlowHandlerMapping(
        @Qualifier("accountProfileWebflowUrlHandler")
        final FlowUrlHandler accountProfileWebflowUrlHandler,
        @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.setFlowRegistry(flowDefinitionRegistry);
        handler.setInterceptors(webflowExecutionPlan.getWebflowInterceptors().toArray());
        handler.setFlowUrlHandler(accountProfileWebflowUrlHandler);
        return handler;
    }
This is {@link CasWebflowAccountProfileConfiguration}.

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