@Bean
        public ClientFlowExecutionRepository clientFlowExecutionRepository(
            @Qualifier(TenantExtractor.BEAN_NAME)
            final TenantExtractor tenantExtractor,
            @Qualifier(CipherExecutor.BEAN_NAME_WEBFLOW_CIPHER_EXECUTOR)
            final CipherExecutor webflowCipherExecutor,
            final CasConfigurationProperties casProperties,
            @Qualifier("flowRegistry")
            final FlowDefinitionRegistry flowRegistry) {

            val factory = new WebflowExecutorFactory(casProperties.getWebflow(), flowRegistry,
                webflowCipherExecutor, new FlowExecutionListener[0],
                new DefaultFlowUrlHandler(), tenantExtractor);
            val flowExecutor = (WebflowExecutorFactory.CasFlowExecutorImpl) factory.build();
            return (ClientFlowExecutionRepository) flowExecutor.getFlowExecutionRepository();
        }
Test cases for {@link ClientFlowExecutionRepository}.

@author Misagh Moayyed
@since 6.1
core/cas-server-core-webflow/src/test/java/org/apereo/cas/web/flow/executor/ClientFlowExecutionRepositoryTests.java