Search in sources :

Example 1 with DefaultCasWebflowExecutionPlan

use of org.apereo.cas.web.flow.configurer.plan.DefaultCasWebflowExecutionPlan in project cas by apereo.

the class CasWebflowContextConfiguration method casWebflowExecutionPlan.

@Autowired
@Bean
public CasWebflowExecutionPlan casWebflowExecutionPlan(final List<CasWebflowExecutionPlanConfigurer> configurers) {
    final DefaultCasWebflowExecutionPlan plan = new DefaultCasWebflowExecutionPlan();
    configurers.forEach(c -> c.configureWebflowExecutionPlan(plan));
    plan.execute();
    return plan;
}
Also used : DefaultCasWebflowExecutionPlan(org.apereo.cas.web.flow.configurer.plan.DefaultCasWebflowExecutionPlan) Autowired(org.springframework.beans.factory.annotation.Autowired) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

DefaultCasWebflowExecutionPlan (org.apereo.cas.web.flow.configurer.plan.DefaultCasWebflowExecutionPlan)1 Autowired (org.springframework.beans.factory.annotation.Autowired)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 Bean (org.springframework.context.annotation.Bean)1