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