use of org.springframework.webflow.engine.TransitionSet in project cas by apereo.
the class SpengoWebflowConfigurer method createSpnegoActionState.
private ActionState createSpnegoActionState(final Flow flow) {
final ActionState spnego = createActionState(flow, SPNEGO, createEvaluateAction(SPNEGO));
final TransitionSet transitions = spnego.getTransitionSet();
transitions.add(createTransition(CasWebflowConstants.TRANSITION_ID_SUCCESS, CasWebflowConstants.TRANSITION_ID_SEND_TICKET_GRANTING_TICKET));
transitions.add(createTransition(CasWebflowConstants.TRANSITION_ID_ERROR, CasWebflowConstants.STATE_ID_VIEW_LOGIN_FORM));
transitions.add(createTransition(CasWebflowConstants.TRANSITION_ID_AUTHENTICATION_FAILURE, CasWebflowConstants.STATE_ID_VIEW_LOGIN_FORM));
spnego.getExitActionList().add(createEvaluateAction("clearWebflowCredentialsAction"));
return spnego;
}
Aggregations