Search in sources :

Example 1 with FlowDefinition

use of org.springframework.webflow.definition.FlowDefinition in project cas by apereo.

the class AbstractCasWebflowConfigurer method registerFlowDefinitionIntoLoginFlowRegistry.

/**
     * Register flow definition into login flow registry.
     *
     * @param sourceRegistry the source registry
     */
protected void registerFlowDefinitionIntoLoginFlowRegistry(final FlowDefinitionRegistry sourceRegistry) {
    final String[] flowIds = sourceRegistry.getFlowDefinitionIds();
    for (final String flowId : flowIds) {
        final FlowDefinition definition = sourceRegistry.getFlowDefinition(flowId);
        LOGGER.debug("Registering flow definition [{}]", flowId);
        this.loginFlowDefinitionRegistry.registerFlowDefinition(definition);
    }
}
Also used : FlowDefinition(org.springframework.webflow.definition.FlowDefinition)

Aggregations

FlowDefinition (org.springframework.webflow.definition.FlowDefinition)1