Search in sources :

Example 1 with FlowExecutorBuilder

use of org.springframework.webflow.config.FlowExecutorBuilder in project cas by apereo.

the class CasWebflowContextConfiguration method logoutFlowExecutor.

@RefreshScope
@Bean
public FlowExecutor logoutFlowExecutor() {
    final FlowExecutorBuilder builder = new FlowExecutorBuilder(logoutFlowRegistry(), this.applicationContext);
    builder.setAlwaysRedirectOnPause(casProperties.getWebflow().isAlwaysPauseRedirect());
    builder.setRedirectInSameState(casProperties.getWebflow().isRedirectSameState());
    return builder.build();
}
Also used : FlowExecutorBuilder(org.springframework.webflow.config.FlowExecutorBuilder) RefreshScope(org.springframework.cloud.context.config.annotation.RefreshScope) CipherBean(org.cryptacular.bean.CipherBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

CipherBean (org.cryptacular.bean.CipherBean)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 RefreshScope (org.springframework.cloud.context.config.annotation.RefreshScope)1 Bean (org.springframework.context.annotation.Bean)1 FlowExecutorBuilder (org.springframework.webflow.config.FlowExecutorBuilder)1