@Component public class CasMultiFactorWebflowConfigurer extends Object implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
CasMultiFactorWebflowConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultTransitionToState(org.springframework.webflow.engine.TransitionableState state,
String targetState)
Add a default transition to a given state.
|
protected void |
addEndStateBackedByView(org.springframework.webflow.engine.Flow flow,
String id,
String viewId)
Add end state backed by view.
|
protected void |
addGlobalTransitionIfExceptionIsThrown(org.springframework.webflow.engine.Flow flow,
String targetStateId,
Class<?> clazz)
Add global transition if exception is thrown.
|
protected void |
addMultiFactorGlobalTransitionsForExceptionHandling(org.springframework.webflow.engine.Flow flow)
Add multi factor global transitions for exception handling.
|
protected void |
addMultiFactorOutcomeTransitionsToSubmissionActionState(org.springframework.webflow.engine.Flow flow,
String[] flowIds)
Add multi factor outcome transitions to submission action state.
|
protected void |
addMultiFactorViewEndStates(org.springframework.webflow.engine.Flow flow)
Add multi factor view end states.
|
protected void |
addOnEntryActionToServiceCheckState(org.springframework.webflow.engine.Flow flow)
Add on entry action to service check state.
|
protected void |
addTicketGrantingTicketExistsCheck(org.springframework.webflow.engine.Flow flow,
String[] flowIds)
Add ticket granting ticket exists check.
|
protected void |
addTransitionToActionState(org.springframework.webflow.engine.ActionState actionState,
String criteriaOutcome,
String targetState)
Add transition to action state.
|
void |
afterPropertiesSet() |
protected org.springframework.webflow.action.EvaluateAction |
createEvaluateAction(String expression)
Create evaluate action.
|
protected org.springframework.binding.mapping.Mapper |
createMapperToSubflowState(List<org.springframework.binding.mapping.impl.DefaultMapping> mappings)
Create mapper to subflow state.
|
protected org.springframework.binding.mapping.impl.DefaultMapping |
createMappingToSubflowState(String name,
String value,
boolean required,
Class type)
Create mapping to subflow state.
|
protected void |
createMultiFactorParentSubflowStateDefinitions(org.springframework.webflow.engine.Flow flow,
String id)
Create multi factor parent subflow state definitions.
|
protected void |
createMultiFactorSubflowStateDefinitions(org.springframework.webflow.engine.Flow flow,
String[] flowIds)
Create multi factor subflow state definitions.
|
protected void |
createMultiFactorSubflowStateDefinitionsByAuthenticationMethod(org.springframework.webflow.engine.Flow flow,
String[] flowIds)
Create multi factor subflow state definitions by authentication method.
|
protected org.springframework.webflow.engine.SubflowAttributeMapper |
createSubflowAttributeMapper(org.springframework.binding.mapping.Mapper inputMapper,
org.springframework.binding.mapping.Mapper outputMapper)
Create subflow attribute mapper.
|
protected org.springframework.webflow.engine.SubflowState |
createSubflowState(org.springframework.webflow.engine.Flow flow,
String id,
String subflow,
org.springframework.webflow.execution.Action entryAction)
Create subflow state.
|
protected org.springframework.webflow.engine.Transition |
createTransition(String targetState)
Create transition without a criteria.
|
protected org.springframework.webflow.engine.Transition |
createTransition(String criteriaOutcome,
String targetState)
Create transition.
|
protected void |
setupWebflow(String[] flowIds)
Sets webflow.
|
@PostConstruct public void afterPropertiesSet() throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected void setupWebflow(String[] flowIds)
flowIds - the flow idsprotected void addMultiFactorGlobalTransitionsForExceptionHandling(org.springframework.webflow.engine.Flow flow)
flow - the flowprotected void addGlobalTransitionIfExceptionIsThrown(org.springframework.webflow.engine.Flow flow,
String targetStateId,
Class<?> clazz)
flow - the flowtargetStateId - the target state idclazz - the exception classprotected void addMultiFactorOutcomeTransitionsToSubmissionActionState(org.springframework.webflow.engine.Flow flow,
String[] flowIds)
flow - the flowflowIds - the flow idsprotected void addOnEntryActionToServiceCheckState(org.springframework.webflow.engine.Flow flow)
flow - the flowprotected org.springframework.webflow.action.EvaluateAction createEvaluateAction(String expression)
expression - the expressionprotected void addMultiFactorViewEndStates(org.springframework.webflow.engine.Flow flow)
flow - the flowprotected void addTicketGrantingTicketExistsCheck(org.springframework.webflow.engine.Flow flow,
String[] flowIds)
flow - the flowflowIds - the flow idsprotected void addDefaultTransitionToState(org.springframework.webflow.engine.TransitionableState state,
String targetState)
state - the state to include the default transitiontargetState - the id of the destination state to which the flow should transferprotected void addTransitionToActionState(org.springframework.webflow.engine.ActionState actionState,
String criteriaOutcome,
String targetState)
actionState - the action statecriteriaOutcome - the criteria outcometargetState - the target stateprotected org.springframework.webflow.engine.Transition createTransition(String criteriaOutcome, String targetState)
criteriaOutcome - the criteria outcometargetState - the target stateprotected org.springframework.webflow.engine.Transition createTransition(String targetState)
targetState - the target stateprotected void addEndStateBackedByView(org.springframework.webflow.engine.Flow flow,
String id,
String viewId)
flow - the flowid - the idviewId - the view idprotected void createMultiFactorSubflowStateDefinitions(org.springframework.webflow.engine.Flow flow,
String[] flowIds)
flow - the flowflowIds - the flow idsprotected void createMultiFactorParentSubflowStateDefinitions(org.springframework.webflow.engine.Flow flow,
String id)
flow - the flowid - the idprotected void createMultiFactorSubflowStateDefinitionsByAuthenticationMethod(org.springframework.webflow.engine.Flow flow,
String[] flowIds)
flow - the flowflowIds - the flow idsprotected org.springframework.webflow.engine.SubflowState createSubflowState(org.springframework.webflow.engine.Flow flow,
String id,
String subflow,
org.springframework.webflow.execution.Action entryAction)
flow - the flowid - the idsubflow - the subflowentryAction - the entry actionprotected org.springframework.binding.mapping.Mapper createMapperToSubflowState(List<org.springframework.binding.mapping.impl.DefaultMapping> mappings)
mappings - the mappingsprotected org.springframework.binding.mapping.impl.DefaultMapping createMappingToSubflowState(String name, String value, boolean required, Class type)
name - the namevalue - the valuerequired - the requiredtype - the typeprotected org.springframework.webflow.engine.SubflowAttributeMapper createSubflowAttributeMapper(org.springframework.binding.mapping.Mapper inputMapper,
org.springframework.binding.mapping.Mapper outputMapper)
inputMapper - the input mapperoutputMapper - the output mapperCopyright © 2013-2015 Unicon Inc.. All Rights Reserved.