/** * Create service unauthorized check decision state. * * @param flow the flow */ protected void createServiceUnauthorizedCheckDecisionState(final Flow flow) { val decision = createDecisionState(flow, CasWebflowConstants.STATE_ID_SERVICE_UNAUTHZ_CHECK, "flowScope.unauthorizedRedirectUrl != null", CasWebflowConstants.STATE_ID_VIEW_REDIR_UNAUTHZ_URL, CasWebflowConstants.STATE_ID_VIEW_SERVICE_ERROR); decision.getEntryActionList().add(createEvaluateAction("setServiceUnauthorizedRedirectUrlAction")); }
/** * Add on entry action to service check state. * * @param flow the flow */ protected void addOnEntryActionToServiceCheckState(final Flow flow) { final DecisionState state = (DecisionState) flow.getState(STATE_DEFINITION_ID_SERVICE_CHECK); final EvaluateAction action = createEvaluateAction("removeHostnameServiceInContextAction"); state.getEntryActionList().add(action); LOGGER.debug("Set on-entry action for decision state {}", state.getId()); } /**
realSubmit .getTransition(CasWebflowConstants.TRANSITION_ID_SUCCESS).getTargetStateId()) .getEntryActionList().add(createEvaluateAction("flowScope.pswdChangePostLogin=true"));