Package org.apereo.cas.web.flow
Interface CasWebflowConfigurer
-
- All Superinterfaces:
org.springframework.core.Ordered
public interface CasWebflowConfigurer extends org.springframework.core.OrderedThis isCasWebflowConfigurer.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFLOW_ID_LOGINMain login flow id.static java.lang.StringFLOW_ID_LOGOUTMain logout flow id.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.springframework.webflow.engine.FlowbuildFlow(java.lang.String location, java.lang.String id)Build flow.org.springframework.webflow.engine.ActionStatecreateActionState(org.springframework.webflow.engine.Flow flow, java.lang.String name, org.springframework.webflow.execution.Action... actions)Create action state action state.org.springframework.webflow.engine.DecisionStatecreateDecisionState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String testExpression, java.lang.String thenStateId, java.lang.String elseStateId)Create decision state decision state.org.springframework.webflow.engine.EndStatecreateEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id)Create end state.org.springframework.webflow.engine.EndStatecreateEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId)Create end state.org.springframework.webflow.engine.EndStatecreateEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId, boolean redirect)Create end state with option to handle an external redirect.org.springframework.webflow.engine.EndStatecreateEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.binding.expression.Expression expression)Create end state.org.springframework.webflow.engine.EndStatecreateEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.webflow.execution.ViewFactory viewFactory)Create end state.org.springframework.webflow.action.EvaluateActioncreateEvaluateAction(java.lang.String expression)Create evaluate action evaluate action.org.springframework.webflow.action.SetActioncreateSetAction(java.lang.String name, java.lang.String value)Create set action set action.org.springframework.webflow.engine.SubflowStatecreateSubflowState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String subflow)Create subflow state subflow state.org.springframework.webflow.engine.SubflowStatecreateSubflowState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String subflow, org.springframework.webflow.execution.Action entryAction)Create subflow state subflow state.org.springframework.webflow.engine.TransitioncreateTransition(java.lang.String targetState)Create transition transition.org.springframework.webflow.engine.TransitioncreateTransition(java.lang.String criteriaOutcome, java.lang.String targetState)Create transition transition.org.springframework.webflow.engine.TransitioncreateTransition(java.lang.String criteriaOutcome, org.springframework.webflow.engine.TransitionableState targetState)Create transition transition.org.springframework.webflow.engine.TransitioncreateTransition(org.springframework.binding.expression.Expression criteriaOutcomeExpression, java.lang.String targetState)Create transition transition.org.springframework.webflow.engine.ViewStatecreateViewState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId)Create view state view state.org.springframework.webflow.engine.ViewStatecreateViewState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId, org.springframework.webflow.engine.builder.BinderConfiguration binder)Create view state view state.org.springframework.webflow.engine.ViewStatecreateViewState(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.binding.expression.Expression expression, org.springframework.webflow.engine.builder.BinderConfiguration binder)Create view state view state.org.springframework.webflow.engine.FlowgetLoginFlow()Gets login flow.org.springframework.webflow.engine.FlowgetLogoutFlow()Gets logout flow.default java.lang.StringgetName()Gets name.org.springframework.webflow.engine.TransitionableStategetStartState(org.springframework.webflow.engine.Flow flow)Gets start state.voidinitialize()Initialize.voidsetStartState(org.springframework.webflow.engine.Flow flow, java.lang.String state)Sets start state.voidsetStartState(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.TransitionableState state)Sets start state.
-
-
-
Field Detail
-
FLOW_ID_LOGIN
static final java.lang.String FLOW_ID_LOGIN
Main login flow id.- See Also:
- Constant Field Values
-
FLOW_ID_LOGOUT
static final java.lang.String FLOW_ID_LOGOUT
Main logout flow id.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
void initialize()
Initialize.
-
getLoginFlow
org.springframework.webflow.engine.Flow getLoginFlow()
Gets login flow.- Returns:
- the login flow
-
getLogoutFlow
org.springframework.webflow.engine.Flow getLogoutFlow()
Gets logout flow.- Returns:
- the logout flow
-
getStartState
org.springframework.webflow.engine.TransitionableState getStartState(org.springframework.webflow.engine.Flow flow)
Gets start state.- Parameters:
flow- the flow- Returns:
- the start state
-
createTransition
org.springframework.webflow.engine.Transition createTransition(java.lang.String criteriaOutcome, java.lang.String targetState)Create transition transition.- Parameters:
criteriaOutcome- the criteria outcometargetState- the target state- Returns:
- the transition
-
createTransition
org.springframework.webflow.engine.Transition createTransition(java.lang.String criteriaOutcome, org.springframework.webflow.engine.TransitionableState targetState)Create transition transition.- Parameters:
criteriaOutcome- the criteria outcometargetState- the target state- Returns:
- the transition
-
createTransition
org.springframework.webflow.engine.Transition createTransition(org.springframework.binding.expression.Expression criteriaOutcomeExpression, java.lang.String targetState)Create transition transition.- Parameters:
criteriaOutcomeExpression- the criteria outcome expressiontargetState- the target state- Returns:
- the transition
-
createTransition
org.springframework.webflow.engine.Transition createTransition(java.lang.String targetState)
Create transition transition.- Parameters:
targetState- the target state- Returns:
- the transition
-
createSetAction
org.springframework.webflow.action.SetAction createSetAction(java.lang.String name, java.lang.String value)Create set action set action.- Parameters:
name- the namevalue- the value- Returns:
- the set action
-
createEvaluateAction
org.springframework.webflow.action.EvaluateAction createEvaluateAction(java.lang.String expression)
Create evaluate action evaluate action.- Parameters:
expression- the expression- Returns:
- the evaluate action
-
createActionState
org.springframework.webflow.engine.ActionState createActionState(org.springframework.webflow.engine.Flow flow, java.lang.String name, org.springframework.webflow.execution.Action... actions)Create action state action state.- Parameters:
flow- the flowname- the nameactions- the actions- Returns:
- the action state
-
createDecisionState
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)Create decision state decision state.- Parameters:
flow- the flowid- the idtestExpression- the test expressionthenStateId- the then state idelseStateId- the else state id- Returns:
- the decision state
-
setStartState
void setStartState(org.springframework.webflow.engine.Flow flow, java.lang.String state)Sets start state.- Parameters:
flow- the flowstate- the state
-
setStartState
void setStartState(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.TransitionableState state)Sets start state.- Parameters:
flow- the flowstate- the state
-
createEndState
org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id)Create end state.- Parameters:
flow- the flowid- the id- Returns:
- the end state
-
createEndState
org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId, boolean redirect)Create end state with option to handle an external redirect.- Parameters:
flow- the flowid- the idviewId- the view idredirect- the redirect- Returns:
- the end state
-
createEndState
org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId)Create end state.- Parameters:
flow- the flowid- the idviewId- the view id- Returns:
- the end state
-
createEndState
org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.binding.expression.Expression expression)Create end state.- Parameters:
flow- the flowid- the idexpression- the expression- Returns:
- the end state
-
createEndState
org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.webflow.execution.ViewFactory viewFactory)Create end state.- Parameters:
flow- the flowid- the idviewFactory- the view factory- Returns:
- the end state
-
createViewState
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)Create view state view state.- Parameters:
flow- the flowid- the idexpression- the expressionbinder- the binder- Returns:
- the view state
-
createViewState
org.springframework.webflow.engine.ViewState createViewState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId)Create view state view state.- Parameters:
flow- the flowid- the idviewId- the view id- Returns:
- the view state
-
createViewState
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)Create view state view state.- Parameters:
flow- the flowid- the idviewId- the view idbinder- the binder- Returns:
- the view state
-
createSubflowState
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)Create subflow state subflow state.- Parameters:
flow- the flowid- the idsubflow- the subflowentryAction- the entry action- Returns:
- the subflow state
-
createSubflowState
org.springframework.webflow.engine.SubflowState createSubflowState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String subflow)Create subflow state subflow state.- Parameters:
flow- the flowid- the idsubflow- the subflow- Returns:
- the subflow state
-
buildFlow
org.springframework.webflow.engine.Flow buildFlow(java.lang.String location, java.lang.String id)Build flow.- Parameters:
location- the locationid- the id- Returns:
- the flow
-
getName
default java.lang.String getName()
Gets name.- Returns:
- the name
-
-