use of org.springframework.webflow.mvc.servlet.FlowHandlerAdapter in project cas by apereo.
the class CasWebflowContextConfiguration method loginHandlerAdapter.
@Bean
public HandlerAdapter loginHandlerAdapter() {
final FlowHandlerAdapter handler = new FlowHandlerAdapter() {
@Override
public boolean supports(final Object handler) {
return super.supports(handler) && ((FlowHandler) handler).getFlowId().equals(CasWebflowConfigurer.FLOW_ID_LOGIN);
}
};
handler.setFlowExecutor(loginFlowExecutor());
handler.setFlowUrlHandler(loginFlowUrlHandler());
return handler;
}
Aggregations