use of org.apereo.cas.web.flow.CasFlowHandlerAdapter in project cas by apereo.
the class CasWebflowContextConfiguration method loginHandlerAdapter.
@Bean
public HandlerAdapter loginHandlerAdapter() {
final FlowHandlerAdapter handler = new CasFlowHandlerAdapter(CasWebflowConfigurer.FLOW_ID_LOGIN);
handler.setFlowExecutor(loginFlowExecutor());
handler.setFlowUrlHandler(loginFlowUrlHandler());
return handler;
}
use of org.apereo.cas.web.flow.CasFlowHandlerAdapter in project cas by apereo.
the class CasWebflowContextConfiguration method logoutHandlerAdapter.
@RefreshScope
@Bean
public HandlerAdapter logoutHandlerAdapter() {
final FlowHandlerAdapter handler = new CasFlowHandlerAdapter(CasWebflowConfigurer.FLOW_ID_LOGOUT);
handler.setFlowExecutor(logoutFlowExecutor());
handler.setFlowUrlHandler(logoutFlowUrlHandler());
return handler;
}
Aggregations