protected void createVerifyActionState ( final Flow flow ) { val actionState = createActionState ( flow , STATE_ID_AUP_CHECK , AUP_VERIFY_ACTION ) ; val transitionSet = actionState . getTransitionSet ( ) ; val target = getRealSubmissionState ( flow ) . getTransition ( CasWebflowConstants . TRANSITION_ID_SUCCESS ) . getTargetStateId ( ) ; transitionSet . add ( createTransition ( CasWebflowConstants . TRANSITION_ID_AUP_ACCEPTED , target ) ) ; transitionSet . add ( createTransition ( CasWebflowConstants . TRANSITION_ID_AUP_MUST_ACCEPT , VIEW_ID_ACCEPTABLE_USAGE_POLICY_VIEW ) ) ; val ticketCreateState = getState ( flow , CasWebflowConstants . STATE_ID_CREATE_TICKET_GRANTING_TICKET , ActionState . class ) ; createEvaluateActionForExistingActionState ( flow , ticketCreateState . getId ( ) , AUP_VERIFY_ACTION ) ; createTransitionForState ( ticketCreateState , CasWebflowConstants . TRANSITION_ID_AUP_MUST_ACCEPT , VIEW_ID_ACCEPTABLE_USAGE_POLICY_VIEW ) ; }
Create verify action state .