Class AcceptableUsagePolicyWebflowConfigurer

  • All Implemented Interfaces:
    org.apereo.cas.web.flow.CasWebflowConfigurer, org.springframework.core.Ordered

    public class AcceptableUsagePolicyWebflowConfigurer
    extends org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer
    The AcceptableUsagePolicyWebflowConfigurer is responsible for adjusting the CAS webflow context for aup integration.
    Since:
    4.2
    • Field Summary

      • Fields inherited from class org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer

        applicationContext, casProperties, flowBuilderServices, loginFlowDefinitionRegistry, logoutFlowDefinitionRegistry
      • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      AcceptableUsagePolicyWebflowConfigurer​(org.springframework.webflow.engine.builder.support.FlowBuilderServices flowBuilderServices, org.springframework.webflow.definition.registry.FlowDefinitionRegistry loginFlowDefinitionRegistry, org.springframework.context.ApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void createAcceptableUsagePolicyView​(org.springframework.webflow.engine.Flow flow)
      Create acceptable usage policy view.
      protected void createSubmitActionState​(org.springframework.webflow.engine.Flow flow)
      Create submit action state.
      protected void createTransitionStateToAcceptableUsagePolicy​(org.springframework.webflow.engine.Flow flow)
      Create transition state to acceptable usage policy.
      protected void createVerifyActionState​(org.springframework.webflow.engine.Flow flow)
      Create verify action state.
      protected void doInitialize()  
      protected org.springframework.webflow.engine.ActionState getRealSubmissionState​(org.springframework.webflow.engine.Flow flow)
      Gets real submission state.
      • Methods inherited from class org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer

        addActionsToActionStateExecutionListAt, appendActionsToActionStateExecutionList, buildFlow, cloneActionState, containsFlowState, containsSubflowState, containsTransition, createActionState, createActionState, createActionState, createActionState, createClonedActionState, createDecisionState, createEndState, createEndState, createEndState, createEndState, createEndState, createEvaluateAction, createEvaluateActionForExistingActionState, createExpression, createExpression, createFlowVariable, createMapperToSubflowState, createMappingToSubflowState, createSetAction, createStateBinderConfiguration, createStateDefaultTransition, createStateDefaultTransition, createStateModelBinding, createSubflowAttributeMapper, createSubflowState, createSubflowState, createTransition, createTransition, createTransition, createTransition, createTransitionForState, createTransitionForState, createTransitionsForState, createViewState, createViewState, createViewState, getApplicationContext, getCasProperties, getExpressionStringFromAction, getFlowBuilderServices, getLoginFlow, getLoginFlowDefinitionRegistry, getLogoutFlow, getLogoutFlowDefinitionRegistry, getName, getOrder, getSpringExpressionParser, getStartState, getState, getState, getTransitionableState, getTransitionableState, getTransitionExecutionCriteriaChainForTransition, getViewStateBinderConfiguration, initialize, prependActionsToActionStateExecutionList, prependActionsToActionStateExecutionList, prependActionsToActionStateExecutionList, prependActionsToActionStateExecutionList, setLogoutFlowDefinitionRegistry, setName, setOrder, setStartState, setStartState, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AcceptableUsagePolicyWebflowConfigurer

        public AcceptableUsagePolicyWebflowConfigurer​(org.springframework.webflow.engine.builder.support.FlowBuilderServices flowBuilderServices,
                                                      org.springframework.webflow.definition.registry.FlowDefinitionRegistry loginFlowDefinitionRegistry,
                                                      org.springframework.context.ApplicationContext applicationContext,
                                                      org.apereo.cas.configuration.CasConfigurationProperties casProperties)
    • Method Detail

      • doInitialize

        protected void doInitialize()
        Specified by:
        doInitialize in class org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer
      • createTransitionStateToAcceptableUsagePolicy

        protected void createTransitionStateToAcceptableUsagePolicy​(org.springframework.webflow.engine.Flow flow)
        Create transition state to acceptable usage policy.
        Parameters:
        flow - the flow
      • getRealSubmissionState

        protected org.springframework.webflow.engine.ActionState getRealSubmissionState​(org.springframework.webflow.engine.Flow flow)
        Gets real submission state.
        Parameters:
        flow - the flow
        Returns:
        the real submission state
      • createSubmitActionState

        protected void createSubmitActionState​(org.springframework.webflow.engine.Flow flow)
        Create submit action state.
        Parameters:
        flow - the flow
      • createAcceptableUsagePolicyView

        protected void createAcceptableUsagePolicyView​(org.springframework.webflow.engine.Flow flow)
        Create acceptable usage policy view.
        Parameters:
        flow - the flow
      • createVerifyActionState

        protected void createVerifyActionState​(org.springframework.webflow.engine.Flow flow)
        Create verify action state.
        Parameters:
        flow - the flow