private CasFlowExecutorImpl buildCasFlowExecutor(final FlowExecutionFactory executionFactory, final FlowExecutionRepository repository) {
        return new CasFlowExecutorImpl(new FlowExecutorImpl(flowDefinitionRegistry, executionFactory, repository), repository, flowUrlHandler);
    }
Build flow executor.

@return the flow executor
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/executor/WebflowExecutorFactory.java