protected void createSubmitActionState ( final Flow flow ) { val aupAcceptedAction = createActionState ( flow , AUP_ACCEPTED_ACTION , "acceptableUsagePolicySubmitAction" ) ; val target = getRealSubmissionState ( flow ) . getTransition ( CasWebflowConstants . TRANSITION_ID_SUCCESS ) . getTargetStateId ( ) ; val transitionSet = aupAcceptedAction . getTransitionSet ( ) ; transitionSet . add ( createTransition ( CasWebflowConstants . TRANSITION_ID_AUP_ACCEPTED , target ) ) ; transitionSet . add ( createTransition ( CasWebflowConstants . TRANSITION_ID_ERROR , CasWebflowConstants . STATE_ID_INIT_LOGIN_FORM ) ) ; }
Create submit action state .