Class AbstractCasWebflowConfigurer

java.lang.Object
org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer
All Implemented Interfaces:
org.apereo.cas.util.NamedObject, org.apereo.cas.web.flow.CasWebflowConfigurer, org.springframework.core.Ordered
Direct Known Subclasses:
AccountProfileWebflowConfigurer, DefaultLoginWebflowConfigurer, DefaultLogoutWebflowConfigurer, GroovyWebflowConfigurer

public abstract class AbstractCasWebflowConfigurer extends Object implements org.apereo.cas.web.flow.CasWebflowConfigurer
The AbstractCasWebflowConfigurer is responsible for providing an entry point into the CAS webflow.
Since:
4.2
  • Field Summary

    Fields inherited from interface org.apereo.cas.web.flow.CasWebflowConfigurer

    FLOW_ID_ACCOUNT, FLOW_ID_DELEGATION_REDIRECT, FLOW_ID_LOGIN, FLOW_ID_LOGOUT, FLOW_ID_PASSWORD_RESET, FLOW_ID_RISK_VERIFICATION

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addActionsToActionStateExecutionListAt(org.springframework.webflow.engine.Flow flow, String stateId, int position, org.springframework.webflow.execution.Action... actions)
    Add actions to action state execution list at.
    org.springframework.webflow.engine.Flow
     
    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, String stateId)
     
    boolean
    containsSubflowState(org.springframework.webflow.engine.Flow flow, String stateId)
     
    boolean
    containsTransition(org.springframework.webflow.engine.TransitionableState state, String transition)
     
    org.springframework.webflow.engine.ActionState
    createActionState(org.springframework.webflow.engine.Flow flow, String name)
     
    org.springframework.webflow.engine.ActionState
    createActionState(org.springframework.webflow.engine.Flow flow, String name, String... action)
     
    org.springframework.webflow.engine.ActionState
    createActionState(org.springframework.webflow.engine.Flow flow, String name, org.springframework.webflow.execution.Action action)
     
    org.springframework.webflow.engine.ActionState
    createActionState(org.springframework.webflow.engine.Flow flow, String name, org.springframework.webflow.execution.Action... actions)
     
    void
    createClonedActionState(org.springframework.webflow.engine.Flow flow, String actionStateId, String actionStateIdToClone)
    Clone and create action state.
    org.springframework.webflow.engine.DecisionState
    createDecisionState(org.springframework.webflow.engine.Flow flow, String id, String testExpression, String thenStateId, String elseStateId)
     
    org.springframework.webflow.engine.EndState
    createEndState(org.springframework.webflow.engine.Flow flow, String id)
     
    org.springframework.webflow.engine.EndState
    createEndState(org.springframework.webflow.engine.Flow flow, String id, String viewId)
     
    org.springframework.webflow.engine.EndState
    createEndState(org.springframework.webflow.engine.Flow flow, String id, String viewId, boolean redirect)
     
    org.springframework.webflow.engine.EndState
    createEndState(org.springframework.webflow.engine.Flow flow, String id, org.springframework.binding.expression.Expression expression)
     
    org.springframework.webflow.engine.EndState
    createEndState(org.springframework.webflow.engine.Flow flow, String id, org.springframework.webflow.execution.ViewFactory viewFactory)
     
    org.springframework.webflow.action.EvaluateAction
     
    org.springframework.webflow.execution.Action
    createEvaluateActionForExistingActionState(org.springframework.webflow.engine.Flow flow, String actionStateId, String evaluateActionId)
    Create evaluate action for action state action.
    org.springframework.binding.expression.Expression
     
    org.springframework.binding.expression.Expression
    createExpression(String expression, Class expectedType)
     
    org.springframework.webflow.execution.ViewFactory
     
    org.springframework.binding.mapping.Mapper
    createFlowInputMapper(List<? extends org.springframework.binding.mapping.Mapping> mappings)
    Create flow input mapper.
    org.springframework.binding.mapping.Mapper
    createFlowInputMapper(List<? extends org.springframework.binding.mapping.Mapping> mappings, org.springframework.webflow.engine.Flow flow)
    Create mapper to subflow state.
    org.springframework.binding.mapping.Mapping
    createFlowMapping(String sourceExpression, String targetExpression)
    Create flow mapping.
    org.springframework.binding.mapping.Mapping
    createFlowMapping(String sourceExpression, String targetExpression, boolean required, Class type)
     
    org.springframework.webflow.engine.FlowVariable
    createFlowVariable(org.springframework.webflow.engine.Flow flow, String id, Class type)
     
    org.springframework.webflow.action.RenderAction
    createRenderAction(String... fragmentExpression)
     
    org.springframework.webflow.action.SetAction
     
    org.springframework.webflow.engine.builder.BinderConfiguration
     
    org.springframework.webflow.engine.builder.BinderConfiguration
     
    void
    createStateDefaultTransition(org.springframework.webflow.engine.TransitionableState state, String targetState)
     
    void
    createStateDefaultTransition(org.springframework.webflow.engine.TransitionableState state, org.springframework.webflow.definition.StateDefinition targetState)
     
    void
    createStateModelBinding(org.springframework.webflow.engine.TransitionableState state, String modelName, 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, String stateId, String subflow, org.springframework.webflow.definition.registry.FlowDefinitionRegistry registry, org.springframework.webflow.execution.Action entryAction)
     
    org.springframework.webflow.engine.SubflowState
    createSubflowState(org.springframework.webflow.engine.Flow flow, String stateId, String subflow, org.springframework.webflow.execution.Action entryAction)
     
    org.springframework.webflow.engine.Transition
    createTransition(String targetState)
     
    org.springframework.webflow.engine.Transition
    createTransition(String criteriaOutcome, String targetState)
     
    org.springframework.webflow.engine.Transition
    createTransition(String criteriaOutcome, String targetState, org.springframework.webflow.execution.Action... actions)
     
    org.springframework.webflow.engine.Transition
    createTransition(String criteriaOutcomeExpression, org.springframework.webflow.engine.TargetStateResolver targetStateResolver)
     
    org.springframework.webflow.engine.Transition
    createTransition(String criteriaOutcome, org.springframework.webflow.engine.TransitionableState targetState)
     
    org.springframework.webflow.engine.Transition
    createTransition(org.springframework.binding.expression.Expression criteriaOutcomeExpression, String targetState, org.springframework.webflow.execution.Action... actions)
     
    org.springframework.webflow.engine.Transition
    createTransition(org.springframework.binding.expression.Expression criteriaOutcomeExpression, org.springframework.webflow.engine.TargetStateResolver targetStateResolver)
     
    org.springframework.webflow.engine.Transition
    createTransition(org.springframework.binding.expression.Expression criteriaOutcomeExpression, org.springframework.webflow.engine.TargetStateResolver targetStateResolver, org.springframework.webflow.execution.Action... actions)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.Flow flow, String stateId, String criteriaOutcome, String targetState)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, String targetState)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, String targetState, boolean removeExisting)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, String targetState, boolean removeExisting, Map<String,Object> attributes)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, String targetState, boolean removeExisting, Map<String,Object> attributes, org.springframework.webflow.execution.Action... actions)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, String targetState, Map<String,Object> attributes)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, String targetState, Map<String,Object> attributes, org.springframework.webflow.execution.Action... actions)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, String targetState, org.springframework.webflow.execution.Action... actions)
     
    org.springframework.webflow.engine.Transition
    createTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, org.springframework.webflow.engine.TargetStateResolver targetStateResolver)
     
    void
    createTransitionsForState(org.springframework.webflow.engine.Flow flow, String stateId, Map<String,String> criteriaAndTargets)
    Create transitions for state.
    org.springframework.webflow.engine.ViewState
    createViewState(org.springframework.webflow.engine.Flow flow, String id, String viewId)
     
    org.springframework.webflow.engine.ViewState
    createViewState(org.springframework.webflow.engine.Flow flow, String id, String viewId, org.springframework.webflow.engine.builder.BinderConfiguration binder)
     
    org.springframework.webflow.engine.ViewState
    createViewState(org.springframework.webflow.engine.Flow flow, 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, String id, org.springframework.webflow.execution.ViewFactory viewFactory)
     
    org.springframework.context.ConfigurableApplicationContext
    Application context.
    org.apereo.cas.configuration.CasConfigurationProperties
    CAS Properties.
    org.springframework.binding.expression.Expression
    getExpressionStringFromAction(org.springframework.webflow.action.EvaluateAction act)
    Gets expression string from action.
    org.springframework.webflow.engine.Flow
     
    org.springframework.webflow.engine.Flow
    getFlow(org.springframework.webflow.definition.registry.FlowDefinitionRegistry registry, String id)
     
    org.springframework.webflow.engine.builder.support.FlowBuilderServices
    Flow builder services.
    org.springframework.webflow.engine.Flow
     
    org.springframework.webflow.engine.Flow
     
    org.springframework.webflow.definition.registry.FlowDefinitionRegistry
    The logout flow definition registry.
    org.springframework.webflow.definition.registry.FlowDefinitionRegistry
    The Login flow definition registry.
     
    int
     
    org.springframework.binding.expression.spel.SpringELExpressionParser
    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, String stateId)
     
    <T> T
    getState(org.springframework.webflow.engine.Flow flow, String stateId, Class<T> clazz)
     
    org.springframework.webflow.engine.TransitionableState
    getTransitionableState(org.springframework.webflow.engine.Flow flow, String stateId)
    Gets transitionable state.
    <T extends org.springframework.webflow.engine.TransitionableState>
    T
    getTransitionableState(org.springframework.webflow.engine.Flow flow, String stateId, Class<T> clazz)
     
    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
     
    org.springframework.webflow.engine.Transition
    insertTransitionForState(org.springframework.webflow.engine.TransitionableState state, String criteriaOutcome, String targetState)
     
    void
    prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow, String stateId, Object... actions)
    Prepend actions to action state execution list.
    void
    prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.TransitionableState actionStateId, org.springframework.webflow.execution.Action... actions)
    Prepend actions to action state execution list.
    void
    setLogoutFlowDefinitionRegistry(org.springframework.webflow.definition.registry.FlowDefinitionRegistry logoutFlowDefinitionRegistry)
    The logout flow definition registry.
    void
     
    void
    setOrder(int order)
     
    void
    setStartState(org.springframework.webflow.engine.Flow flow, String state)
     
    void
    setStartState(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.TransitionableState state)
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apereo.cas.web.flow.CasWebflowConfigurer

    createSubflowState, postInitialization
  • Method Details

    • 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(String criteriaOutcome, String targetState)
      Specified by:
      createTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • createTransition

      public org.springframework.webflow.engine.Transition createTransition(String criteriaOutcome, 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(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, 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(String criteriaOutcomeExpression, org.springframework.webflow.engine.TargetStateResolver targetStateResolver)
      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, org.springframework.webflow.engine.TargetStateResolver targetStateResolver)
      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, org.springframework.webflow.engine.TargetStateResolver targetStateResolver, 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(String targetState)
      Specified by:
      createTransition in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • createRenderAction

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

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

      public org.springframework.webflow.action.EvaluateAction createEvaluateAction(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, 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, String name, 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, 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, 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, String id, String testExpression, String thenStateId, String elseStateId)
      Specified by:
      createDecisionState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • setStartState

      public void setStartState(org.springframework.webflow.engine.Flow flow, 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, 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, String id, 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, String id, 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, 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, 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, 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, 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, String id, 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, String id, 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, String stateId, 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, String stateId, String subflow, org.springframework.webflow.definition.registry.FlowDefinitionRegistry registry, org.springframework.webflow.execution.Action entryAction)
      Specified by:
      createSubflowState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • buildFlow

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

      public void createStateDefaultTransition(org.springframework.webflow.engine.TransitionableState state, 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, String criteriaOutcome, String targetState, Map<String,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, 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, String criteriaOutcome, 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, String criteriaOutcome, String targetState, Map<String,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, String criteriaOutcome, 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, String stateId, String criteriaOutcome, 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, String criteriaOutcome, String targetState, boolean removeExisting, Map<String,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, String criteriaOutcome, String targetState, boolean removeExisting, Map<String,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, String criteriaOutcome, String targetState, boolean removeExisting)
      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, String criteriaOutcome, org.springframework.webflow.engine.TargetStateResolver targetStateResolver)
      Specified by:
      createTransitionForState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • insertTransitionForState

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

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

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

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

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

      public boolean containsTransition(org.springframework.webflow.engine.TransitionableState state, 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, String id, Class type)
      Specified by:
      createFlowVariable in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • createStateBinderConfiguration

      public org.springframework.webflow.engine.builder.BinderConfiguration createStateBinderConfiguration(Map<String,Map<String,String>> properties)
      Specified by:
      createStateBinderConfiguration in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • createStateBinderConfiguration

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

      public void createStateModelBinding(org.springframework.webflow.engine.TransitionableState state, String modelName, 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 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, String stateId, 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, String stateId)
      Specified by:
      getState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • getFlow

      public org.springframework.webflow.engine.Flow getFlow(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, 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
    • createFlowInputMapper

      public org.springframework.binding.mapping.Mapper createFlowInputMapper(List<? extends org.springframework.binding.mapping.Mapping> mappings, org.springframework.webflow.engine.Flow flow)
      Create mapper to subflow state.
      Parameters:
      mappings - the mappings
      flow - the flow
      Returns:
      the mapper
    • createFlowInputMapper

      public org.springframework.binding.mapping.Mapper createFlowInputMapper(List<? extends org.springframework.binding.mapping.Mapping> mappings)
      Create flow input mapper.
      Parameters:
      mappings - the mappings
      Returns:
      the mapper
    • createFlowMapping

      public org.springframework.binding.mapping.Mapping createFlowMapping(String sourceExpression, String targetExpression, boolean required, Class type)
      Specified by:
      createFlowMapping in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • createFlowMapping

      public org.springframework.binding.mapping.Mapping createFlowMapping(String sourceExpression, String targetExpression)
      Create flow mapping.
      Parameters:
      sourceExpression - the source expression
      targetExpression - the target expression
      Returns:
      the 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, String actionStateId, 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, String actionStateId, 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, String stateId, Class<T> clazz)
      Specified by:
      getTransitionableState in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • getTransitionableState

      public org.springframework.webflow.engine.TransitionableState getTransitionableState(org.springframework.webflow.engine.Flow flow, 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, String stateId, Map<String,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, String stateId, Object... actions)
      Prepend actions to action state execution list.
      Parameters:
      flow - the flow
      stateId - the action state id
      actions - the actions
    • prependActionsToActionStateExecutionList

      public void prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.TransitionableState actionStateId, org.springframework.webflow.execution.Action... 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, String stateId, int position, org.springframework.webflow.execution.Action... actions)
      Add actions to action state execution list at.
      Parameters:
      flow - the flow
      stateId - the action state id
      position - the position
      actions - the actions
    • createExternalRedirectViewFactory

      public org.springframework.webflow.execution.ViewFactory createExternalRedirectViewFactory(String expressionId)
      Specified by:
      createExternalRedirectViewFactory in interface org.apereo.cas.web.flow.CasWebflowConfigurer
    • setLogoutFlowDefinitionRegistry

      public void setLogoutFlowDefinitionRegistry(org.springframework.webflow.definition.registry.FlowDefinitionRegistry logoutFlowDefinitionRegistry)
      The logout flow definition registry.
    • setOrder

      public void setOrder(int order)
    • setName

      public void setName(String name)
    • getFlowBuilderServices

      public org.springframework.webflow.engine.builder.support.FlowBuilderServices getFlowBuilderServices()
      Flow builder services.
    • getMainFlowDefinitionRegistry

      public org.springframework.webflow.definition.registry.FlowDefinitionRegistry getMainFlowDefinitionRegistry()
      The Login flow definition registry.
    • getApplicationContext

      public org.springframework.context.ConfigurableApplicationContext getApplicationContext()
      Application context.
    • getCasProperties

      public org.apereo.cas.configuration.CasConfigurationProperties getCasProperties()
      CAS Properties.
    • getLogoutFlowDefinitionRegistry

      public org.springframework.webflow.definition.registry.FlowDefinitionRegistry getLogoutFlowDefinitionRegistry()
      The logout flow definition registry.
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • getName

      public String getName()
      Specified by:
      getName in interface org.apereo.cas.util.NamedObject
    • toString

      public String toString()
      Overrides:
      toString in class Object