Class AbstractCasWebflowConfigurer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.springframework.context.ConfigurableApplicationContext applicationContext
      Application context.
      protected org.apereo.cas.configuration.CasConfigurationProperties casProperties
      CAS Properties.
      protected org.springframework.webflow.engine.builder.support.FlowBuilderServices flowBuilderServices
      Flow builder services.
      protected org.springframework.webflow.definition.registry.FlowDefinitionRegistry logoutFlowDefinitionRegistry
      The logout flow definition registry.
      protected org.springframework.webflow.definition.registry.FlowDefinitionRegistry mainFlowDefinitionRegistry
      The Login flow definition registry.
      • Fields inherited from interface org.apereo.cas.web.flow.CasWebflowConfigurer

        FLOW_ID_LOGIN, FLOW_ID_LOGOUT
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addActionsToActionStateExecutionListAt​(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, int position, org.springframework.webflow.action.EvaluateAction... actions)
      Add actions to action state execution list at.
      org.springframework.webflow.engine.Flow buildFlow​(java.lang.String id)  
      void cloneActionState​(org.springframework.webflow.engine.ActionState source, org.springframework.webflow.engine.ActionState target)
      Clone action state.
      boolean containsFlowState​(org.springframework.webflow.engine.Flow flow, java.lang.String stateId)  
      boolean containsSubflowState​(org.springframework.webflow.engine.Flow flow, java.lang.String stateId)  
      boolean containsTransition​(org.springframework.webflow.engine.TransitionableState state, java.lang.String transition)  
      org.springframework.webflow.engine.ActionState createActionState​(org.springframework.webflow.engine.Flow flow, java.lang.String name)  
      org.springframework.webflow.engine.ActionState createActionState​(org.springframework.webflow.engine.Flow flow, java.lang.String name, java.lang.String action)  
      org.springframework.webflow.engine.ActionState createActionState​(org.springframework.webflow.engine.Flow flow, java.lang.String name, org.springframework.webflow.execution.Action action)  
      org.springframework.webflow.engine.ActionState createActionState​(org.springframework.webflow.engine.Flow flow, java.lang.String name, org.springframework.webflow.execution.Action... actions)  
      void createClonedActionState​(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, java.lang.String actionStateIdToClone)
      Clone and create action state.
      org.springframework.webflow.engine.DecisionState createDecisionState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String testExpression, java.lang.String thenStateId, java.lang.String elseStateId)  
      org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow, java.lang.String id)  
      org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId)  
      org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId, boolean redirect)  
      org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.binding.expression.Expression expression)  
      org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.webflow.execution.ViewFactory viewFactory)  
      org.springframework.webflow.action.EvaluateAction createEvaluateAction​(java.lang.String expression)  
      org.springframework.webflow.execution.Action createEvaluateActionForExistingActionState​(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, java.lang.String evaluateActionId)
      Create evaluate action for action state action.
      org.springframework.binding.expression.Expression createExpression​(java.lang.String expression)  
      org.springframework.binding.expression.Expression createExpression​(java.lang.String expression, java.lang.Class expectedType)  
      org.springframework.webflow.execution.ViewFactory createExternalRedirectViewFactory​(java.lang.String expressionId)
      Create external redirect view factory.
      org.springframework.webflow.engine.FlowVariable createFlowVariable​(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.Class type)
      Create flow variable flow variable.
      org.springframework.binding.mapping.Mapper createMapperToSubflowState​(java.util.List<org.springframework.binding.mapping.impl.DefaultMapping> mappings)
      Create mapper to subflow state.
      org.springframework.binding.mapping.impl.DefaultMapping createMappingToSubflowState​(java.lang.String name, java.lang.String value, boolean required, java.lang.Class type)
      Create mapping to subflow state.
      org.springframework.webflow.action.RenderAction createRenderAction​(java.lang.String... fragmentExpression)  
      org.springframework.webflow.action.SetAction createSetAction​(java.lang.String name, java.lang.String value)  
      org.springframework.webflow.engine.builder.BinderConfiguration createStateBinderConfiguration​(java.util.List<java.lang.String> properties)  
      void createStateDefaultTransition​(org.springframework.webflow.engine.TransitionableState state, java.lang.String targetState)  
      void createStateDefaultTransition​(org.springframework.webflow.engine.TransitionableState state, org.springframework.webflow.definition.StateDefinition targetState)  
      void createStateModelBinding​(org.springframework.webflow.engine.TransitionableState state, java.lang.String modelName, java.lang.Class modelType)  
      org.springframework.webflow.engine.SubflowAttributeMapper createSubflowAttributeMapper​(org.springframework.binding.mapping.Mapper inputMapper, org.springframework.binding.mapping.Mapper outputMapper)
      Create subflow attribute mapper.
      org.springframework.webflow.engine.SubflowState createSubflowState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String subflow)  
      org.springframework.webflow.engine.SubflowState createSubflowState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String subflow, org.springframework.webflow.execution.Action entryAction)  
      org.springframework.webflow.engine.Transition createTransition​(java.lang.String targetState)  
      org.springframework.webflow.engine.Transition createTransition​(java.lang.String criteriaOutcome, java.lang.String targetState)  
      org.springframework.webflow.engine.Transition createTransition​(java.lang.String criteriaOutcome, java.lang.String targetState, org.springframework.webflow.execution.Action... actions)  
      org.springframework.webflow.engine.Transition createTransition​(java.lang.String criteriaOutcome, org.springframework.webflow.engine.TransitionableState targetState)  
      org.springframework.webflow.engine.Transition createTransition​(org.springframework.binding.expression.Expression criteriaOutcomeExpression, java.lang.String targetState, org.springframework.webflow.execution.Action... actions)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.Flow flow, java.lang.String stateId, java.lang.String criteriaOutcome, java.lang.String targetState)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState, boolean removeExisting)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState, boolean removeExisting, java.util.Map<java.lang.String,​java.lang.Object> attributes)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState, boolean removeExisting, java.util.Map<java.lang.String,​java.lang.Object> attributes, org.springframework.webflow.execution.Action... actions)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState, java.util.Map<java.lang.String,​java.lang.Object> attributes)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState, java.util.Map<java.lang.String,​java.lang.Object> attributes, org.springframework.webflow.execution.Action... actions)  
      org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState, org.springframework.webflow.execution.Action... actions)  
      void createTransitionsForState​(org.springframework.webflow.engine.Flow flow, java.lang.String stateId, java.util.Map<java.lang.String,​java.lang.String> criteriaAndTargets)
      Create transitions for state.
      org.springframework.webflow.engine.ViewState createViewState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId)  
      org.springframework.webflow.engine.ViewState createViewState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId, org.springframework.webflow.engine.builder.BinderConfiguration binder)  
      org.springframework.webflow.engine.ViewState createViewState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.binding.expression.Expression expression, org.springframework.webflow.engine.builder.BinderConfiguration binder)  
      org.springframework.webflow.engine.ViewState createViewState​(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.webflow.execution.ViewFactory viewFactory)  
      protected void doInitialize()
      Handle the initialization of the webflow.
      org.springframework.binding.expression.Expression getExpressionStringFromAction​(org.springframework.webflow.action.EvaluateAction act)
      Gets expression string from action.
      org.springframework.webflow.engine.Flow getFlow​(java.lang.String id)  
      org.springframework.webflow.engine.Flow getFlow​(org.springframework.webflow.definition.registry.FlowDefinitionRegistry registry, java.lang.String id)  
      org.springframework.webflow.engine.Flow getLoginFlow()  
      org.springframework.webflow.engine.Flow getLogoutFlow()  
      org.springframework.binding.expression.spel.SpringELExpressionParser getSpringExpressionParser()
      Gets spring expression parser.
      org.springframework.webflow.engine.TransitionableState getStartState​(org.springframework.webflow.engine.Flow flow)  
      org.springframework.webflow.engine.TransitionableState getState​(org.springframework.webflow.engine.Flow flow, java.lang.String stateId)  
      <T> T getState​(org.springframework.webflow.engine.Flow flow, java.lang.String stateId, java.lang.Class<T> clazz)  
      org.springframework.webflow.engine.TransitionableState getTransitionableState​(org.springframework.webflow.engine.Flow flow, java.lang.String stateId)
      Gets transitionable state.
      <T extends org.springframework.webflow.engine.TransitionableState>
      T
      getTransitionableState​(org.springframework.webflow.engine.Flow flow, java.lang.String stateId, java.lang.Class<T> clazz)
      Gets transitionable state.
      java.util.List<org.springframework.webflow.engine.TransitionCriteria> getTransitionExecutionCriteriaChainForTransition​(org.springframework.webflow.engine.Transition def)  
      org.springframework.webflow.engine.builder.BinderConfiguration getViewStateBinderConfiguration​(org.springframework.webflow.engine.ViewState state)  
      void initialize()  
      void prependActionsToActionStateExecutionList​(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, java.lang.String... actions)
      Prepend actions to action state execution list.
      void prependActionsToActionStateExecutionList​(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.ActionState actionStateId, org.springframework.webflow.action.EvaluateAction... actions)
      Prepend actions to action state execution list.
      void setStartState​(org.springframework.webflow.engine.Flow flow, java.lang.String state)  
      void setStartState​(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.TransitionableState state)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.web.flow.CasWebflowConfigurer

        getName
      • Methods inherited from interface org.springframework.core.Ordered

        getOrder
    • Field Detail

      • flowBuilderServices

        protected final org.springframework.webflow.engine.builder.support.FlowBuilderServices flowBuilderServices
        Flow builder services.
      • mainFlowDefinitionRegistry

        protected final org.springframework.webflow.definition.registry.FlowDefinitionRegistry mainFlowDefinitionRegistry
        The Login flow definition registry.
      • applicationContext

        protected final org.springframework.context.ConfigurableApplicationContext applicationContext
        Application context.
      • casProperties

        protected final org.apereo.cas.configuration.CasConfigurationProperties casProperties
        CAS Properties.
      • logoutFlowDefinitionRegistry

        protected org.springframework.webflow.definition.registry.FlowDefinitionRegistry logoutFlowDefinitionRegistry
        The logout flow definition registry.
    • Constructor Detail

      • AbstractCasWebflowConfigurer

        public AbstractCasWebflowConfigurer()
    • Method Detail

      • initialize

        public void initialize()
        Specified by:
        initialize in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getLoginFlow

        public org.springframework.webflow.engine.Flow getLoginFlow()
        Specified by:
        getLoginFlow in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getLogoutFlow

        public org.springframework.webflow.engine.Flow getLogoutFlow()
        Specified by:
        getLogoutFlow in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getStartState

        public org.springframework.webflow.engine.TransitionableState getStartState​(org.springframework.webflow.engine.Flow flow)
        Specified by:
        getStartState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransition

        public org.springframework.webflow.engine.Transition createTransition​(java.lang.String criteriaOutcome,
                                                                              java.lang.String targetState)
        Specified by:
        createTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransition

        public org.springframework.webflow.engine.Transition createTransition​(java.lang.String criteriaOutcome,
                                                                              java.lang.String targetState,
                                                                              org.springframework.webflow.execution.Action... actions)
        Specified by:
        createTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransition

        public org.springframework.webflow.engine.Transition createTransition​(java.lang.String criteriaOutcome,
                                                                              org.springframework.webflow.engine.TransitionableState targetState)
        Specified by:
        createTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransition

        public org.springframework.webflow.engine.Transition createTransition​(org.springframework.binding.expression.Expression criteriaOutcomeExpression,
                                                                              java.lang.String targetState,
                                                                              org.springframework.webflow.execution.Action... actions)
        Specified by:
        createTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransition

        public org.springframework.webflow.engine.Transition createTransition​(java.lang.String targetState)
        Specified by:
        createTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createRenderAction

        public org.springframework.webflow.action.RenderAction createRenderAction​(java.lang.String... fragmentExpression)
        Specified by:
        createRenderAction in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createSetAction

        public org.springframework.webflow.action.SetAction createSetAction​(java.lang.String name,
                                                                            java.lang.String value)
        Specified by:
        createSetAction in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createEvaluateAction

        public org.springframework.webflow.action.EvaluateAction createEvaluateAction​(java.lang.String expression)
        Specified by:
        createEvaluateAction in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createActionState

        public org.springframework.webflow.engine.ActionState createActionState​(org.springframework.webflow.engine.Flow flow,
                                                                                java.lang.String name)
        Specified by:
        createActionState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createActionState

        public org.springframework.webflow.engine.ActionState createActionState​(org.springframework.webflow.engine.Flow flow,
                                                                                java.lang.String name,
                                                                                java.lang.String action)
        Specified by:
        createActionState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createActionState

        public org.springframework.webflow.engine.ActionState createActionState​(org.springframework.webflow.engine.Flow flow,
                                                                                java.lang.String name,
                                                                                org.springframework.webflow.execution.Action... actions)
        Specified by:
        createActionState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createActionState

        public org.springframework.webflow.engine.ActionState createActionState​(org.springframework.webflow.engine.Flow flow,
                                                                                java.lang.String name,
                                                                                org.springframework.webflow.execution.Action action)
        Specified by:
        createActionState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createDecisionState

        public org.springframework.webflow.engine.DecisionState createDecisionState​(org.springframework.webflow.engine.Flow flow,
                                                                                    java.lang.String id,
                                                                                    java.lang.String testExpression,
                                                                                    java.lang.String thenStateId,
                                                                                    java.lang.String elseStateId)
        Specified by:
        createDecisionState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • setStartState

        public void setStartState​(org.springframework.webflow.engine.Flow flow,
                                  java.lang.String state)
        Specified by:
        setStartState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • setStartState

        public void setStartState​(org.springframework.webflow.engine.Flow flow,
                                  org.springframework.webflow.engine.TransitionableState state)
        Specified by:
        setStartState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createEndState

        public org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow,
                                                                          java.lang.String id)
        Specified by:
        createEndState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createEndState

        public org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow,
                                                                          java.lang.String id,
                                                                          java.lang.String viewId,
                                                                          boolean redirect)
        Specified by:
        createEndState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createEndState

        public org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow,
                                                                          java.lang.String id,
                                                                          java.lang.String viewId)
        Specified by:
        createEndState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createEndState

        public org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow,
                                                                          java.lang.String id,
                                                                          org.springframework.binding.expression.Expression expression)
        Specified by:
        createEndState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createEndState

        public org.springframework.webflow.engine.EndState createEndState​(org.springframework.webflow.engine.Flow flow,
                                                                          java.lang.String id,
                                                                          org.springframework.webflow.execution.ViewFactory viewFactory)
        Specified by:
        createEndState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createViewState

        public org.springframework.webflow.engine.ViewState createViewState​(org.springframework.webflow.engine.Flow flow,
                                                                            java.lang.String id,
                                                                            org.springframework.binding.expression.Expression expression,
                                                                            org.springframework.webflow.engine.builder.BinderConfiguration binder)
        Specified by:
        createViewState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createViewState

        public org.springframework.webflow.engine.ViewState createViewState​(org.springframework.webflow.engine.Flow flow,
                                                                            java.lang.String id,
                                                                            org.springframework.webflow.execution.ViewFactory viewFactory)
        Specified by:
        createViewState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createViewState

        public org.springframework.webflow.engine.ViewState createViewState​(org.springframework.webflow.engine.Flow flow,
                                                                            java.lang.String id,
                                                                            java.lang.String viewId)
        Specified by:
        createViewState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createViewState

        public org.springframework.webflow.engine.ViewState createViewState​(org.springframework.webflow.engine.Flow flow,
                                                                            java.lang.String id,
                                                                            java.lang.String viewId,
                                                                            org.springframework.webflow.engine.builder.BinderConfiguration binder)
        Specified by:
        createViewState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createSubflowState

        public org.springframework.webflow.engine.SubflowState createSubflowState​(org.springframework.webflow.engine.Flow flow,
                                                                                  java.lang.String id,
                                                                                  java.lang.String subflow,
                                                                                  org.springframework.webflow.execution.Action entryAction)
        Specified by:
        createSubflowState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createSubflowState

        public org.springframework.webflow.engine.SubflowState createSubflowState​(org.springframework.webflow.engine.Flow flow,
                                                                                  java.lang.String id,
                                                                                  java.lang.String subflow)
        Specified by:
        createSubflowState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • buildFlow

        public org.springframework.webflow.engine.Flow buildFlow​(java.lang.String id)
        Specified by:
        buildFlow in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createStateDefaultTransition

        public void createStateDefaultTransition​(org.springframework.webflow.engine.TransitionableState state,
                                                 java.lang.String targetState)
        Specified by:
        createStateDefaultTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createStateDefaultTransition

        public void createStateDefaultTransition​(org.springframework.webflow.engine.TransitionableState state,
                                                 org.springframework.webflow.definition.StateDefinition targetState)
        Specified by:
        createStateDefaultTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state,
                                                                                      java.lang.String criteriaOutcome,
                                                                                      java.lang.String targetState,
                                                                                      java.util.Map<java.lang.String,​java.lang.Object> attributes)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state,
                                                                                      java.lang.String criteriaOutcome)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state,
                                                                                      java.lang.String criteriaOutcome,
                                                                                      java.lang.String targetState)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state,
                                                                                      java.lang.String criteriaOutcome,
                                                                                      java.lang.String targetState,
                                                                                      java.util.Map<java.lang.String,​java.lang.Object> attributes,
                                                                                      org.springframework.webflow.execution.Action... actions)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state,
                                                                                      java.lang.String criteriaOutcome,
                                                                                      java.lang.String targetState,
                                                                                      org.springframework.webflow.execution.Action... actions)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.Flow flow,
                                                                                      java.lang.String stateId,
                                                                                      java.lang.String criteriaOutcome,
                                                                                      java.lang.String targetState)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state,
                                                                                      java.lang.String criteriaOutcome,
                                                                                      java.lang.String targetState,
                                                                                      boolean removeExisting,
                                                                                      java.util.Map<java.lang.String,​java.lang.Object> attributes,
                                                                                      org.springframework.webflow.execution.Action... actions)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state,
                                                                                      java.lang.String criteriaOutcome,
                                                                                      java.lang.String targetState,
                                                                                      boolean removeExisting,
                                                                                      java.util.Map<java.lang.String,​java.lang.Object> attributes)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createTransitionForState

        public org.springframework.webflow.engine.Transition createTransitionForState​(org.springframework.webflow.engine.TransitionableState state,
                                                                                      java.lang.String criteriaOutcome,
                                                                                      java.lang.String targetState,
                                                                                      boolean removeExisting)
        Specified by:
        createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createExpression

        public org.springframework.binding.expression.Expression createExpression​(java.lang.String expression,
                                                                                  java.lang.Class expectedType)
        Specified by:
        createExpression in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createExpression

        public org.springframework.binding.expression.Expression createExpression​(java.lang.String expression)
        Specified by:
        createExpression in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • containsFlowState

        public boolean containsFlowState​(org.springframework.webflow.engine.Flow flow,
                                         java.lang.String stateId)
        Specified by:
        containsFlowState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • containsSubflowState

        public boolean containsSubflowState​(org.springframework.webflow.engine.Flow flow,
                                            java.lang.String stateId)
        Specified by:
        containsSubflowState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • containsTransition

        public boolean containsTransition​(org.springframework.webflow.engine.TransitionableState state,
                                          java.lang.String transition)
        Specified by:
        containsTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createFlowVariable

        public org.springframework.webflow.engine.FlowVariable createFlowVariable​(org.springframework.webflow.engine.Flow flow,
                                                                                  java.lang.String id,
                                                                                  java.lang.Class type)
        Create flow variable flow variable.
        Specified by:
        createFlowVariable in interface org.apereo.cas.web.flow.CasWebflowConfigurer
        Parameters:
        flow - the flow
        id - the id
        type - the type
        Returns:
        the flow variable
      • createStateBinderConfiguration

        public org.springframework.webflow.engine.builder.BinderConfiguration createStateBinderConfiguration​(java.util.List<java.lang.String> properties)
        Specified by:
        createStateBinderConfiguration in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • createStateModelBinding

        public void createStateModelBinding​(org.springframework.webflow.engine.TransitionableState state,
                                            java.lang.String modelName,
                                            java.lang.Class modelType)
        Specified by:
        createStateModelBinding in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getViewStateBinderConfiguration

        public org.springframework.webflow.engine.builder.BinderConfiguration getViewStateBinderConfiguration​(org.springframework.webflow.engine.ViewState state)
        Specified by:
        getViewStateBinderConfiguration in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getTransitionExecutionCriteriaChainForTransition

        public java.util.List<org.springframework.webflow.engine.TransitionCriteria> getTransitionExecutionCriteriaChainForTransition​(org.springframework.webflow.engine.Transition def)
        Specified by:
        getTransitionExecutionCriteriaChainForTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getState

        public <T> T getState​(org.springframework.webflow.engine.Flow flow,
                              java.lang.String stateId,
                              java.lang.Class<T> clazz)
        Specified by:
        getState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getState

        public org.springframework.webflow.engine.TransitionableState getState​(org.springframework.webflow.engine.Flow flow,
                                                                               java.lang.String stateId)
        Specified by:
        getState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getFlow

        public org.springframework.webflow.engine.Flow getFlow​(java.lang.String id)
        Specified by:
        getFlow in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getFlow

        public org.springframework.webflow.engine.Flow getFlow​(org.springframework.webflow.definition.registry.FlowDefinitionRegistry registry,
                                                               java.lang.String id)
        Specified by:
        getFlow in interface org.apereo.cas.web.flow.CasWebflowConfigurer
      • getSpringExpressionParser

        public org.springframework.binding.expression.spel.SpringELExpressionParser getSpringExpressionParser()
        Gets spring expression parser.
        Returns:
        the spring expression parser
      • createMapperToSubflowState

        public org.springframework.binding.mapping.Mapper createMapperToSubflowState​(java.util.List<org.springframework.binding.mapping.impl.DefaultMapping> mappings)
        Create mapper to subflow state.
        Parameters:
        mappings - the mappings
        Returns:
        the mapper
      • createMappingToSubflowState

        public org.springframework.binding.mapping.impl.DefaultMapping createMappingToSubflowState​(java.lang.String name,
                                                                                                   java.lang.String value,
                                                                                                   boolean required,
                                                                                                   java.lang.Class type)
        Create mapping to subflow state.
        Parameters:
        name - the name
        value - the value
        required - the required
        type - the type
        Returns:
        the default mapping
      • createSubflowAttributeMapper

        public org.springframework.webflow.engine.SubflowAttributeMapper createSubflowAttributeMapper​(org.springframework.binding.mapping.Mapper inputMapper,
                                                                                                      org.springframework.binding.mapping.Mapper outputMapper)
        Create subflow attribute mapper.
        Parameters:
        inputMapper - the input mapper
        outputMapper - the output mapper
        Returns:
        the subflow attribute mapper
      • cloneActionState

        public void cloneActionState​(org.springframework.webflow.engine.ActionState source,
                                     org.springframework.webflow.engine.ActionState target)
        Clone action state.
        Parameters:
        source - the source
        target - the target
      • getExpressionStringFromAction

        public org.springframework.binding.expression.Expression getExpressionStringFromAction​(org.springframework.webflow.action.EvaluateAction act)
        Gets expression string from action.
        Parameters:
        act - the act
        Returns:
        the expression string from action
      • createEvaluateActionForExistingActionState

        public org.springframework.webflow.execution.Action createEvaluateActionForExistingActionState​(org.springframework.webflow.engine.Flow flow,
                                                                                                       java.lang.String actionStateId,
                                                                                                       java.lang.String evaluateActionId)
        Create evaluate action for action state action.
        Parameters:
        flow - the flow
        actionStateId - the action state id
        evaluateActionId - the evaluate action id
        Returns:
        the action
      • createClonedActionState

        public void createClonedActionState​(org.springframework.webflow.engine.Flow flow,
                                            java.lang.String actionStateId,
                                            java.lang.String actionStateIdToClone)
        Clone and create action state.
        Parameters:
        flow - the flow
        actionStateId - the action state id
        actionStateIdToClone - the action state id to clone
      • getTransitionableState

        public <T extends org.springframework.webflow.engine.TransitionableState> T getTransitionableState​(org.springframework.webflow.engine.Flow flow,
                                                                                                           java.lang.String stateId,
                                                                                                           java.lang.Class<T> clazz)
        Gets transitionable state.
        Type Parameters:
        T - the type parameter
        Parameters:
        flow - the flow
        stateId - the state id
        clazz - the clazz
        Returns:
        the transitionable state
      • getTransitionableState

        public org.springframework.webflow.engine.TransitionableState getTransitionableState​(org.springframework.webflow.engine.Flow flow,
                                                                                             java.lang.String stateId)
        Gets transitionable state.
        Parameters:
        flow - the flow
        stateId - the state id
        Returns:
        the transitionable state
      • createTransitionsForState

        public void createTransitionsForState​(org.springframework.webflow.engine.Flow flow,
                                              java.lang.String stateId,
                                              java.util.Map<java.lang.String,​java.lang.String> criteriaAndTargets)
        Create transitions for state.
        Parameters:
        flow - the flow
        stateId - the state id
        criteriaAndTargets - the criteria and targets
      • prependActionsToActionStateExecutionList

        public void prependActionsToActionStateExecutionList​(org.springframework.webflow.engine.Flow flow,
                                                             java.lang.String actionStateId,
                                                             java.lang.String... actions)
        Prepend actions to action state execution list.
        Parameters:
        flow - the flow
        actionStateId - the action state id
        actions - the actions
      • prependActionsToActionStateExecutionList

        public void prependActionsToActionStateExecutionList​(org.springframework.webflow.engine.Flow flow,
                                                             org.springframework.webflow.engine.ActionState actionStateId,
                                                             org.springframework.webflow.action.EvaluateAction... actions)
        Prepend actions to action state execution list.
        Parameters:
        flow - the flow
        actionStateId - the action state id
        actions - the actions
      • addActionsToActionStateExecutionListAt

        public void addActionsToActionStateExecutionListAt​(org.springframework.webflow.engine.Flow flow,
                                                           java.lang.String actionStateId,
                                                           int position,
                                                           org.springframework.webflow.action.EvaluateAction... actions)
        Add actions to action state execution list at.
        Parameters:
        flow - the flow
        actionStateId - the action state id
        position - the position
        actions - the actions
      • createExternalRedirectViewFactory

        public org.springframework.webflow.execution.ViewFactory createExternalRedirectViewFactory​(java.lang.String expressionId)
        Create external redirect view factory.
        Parameters:
        expressionId - the expression id
        Returns:
        the view factory
      • doInitialize

        protected void doInitialize()
        Handle the initialization of the webflow.