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);
}
}
Aggregations