Class GroovyWebflowProperties

java.lang.Object
org.apereo.cas.configuration.model.SpringResourceProperties
org.apereo.cas.configuration.model.core.web.flow.GroovyWebflowProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-core-webflow", automated=true) public class GroovyWebflowProperties extends SpringResourceProperties
Since:
6.4.0
See Also:
  • Constructor Details

    • GroovyWebflowProperties

      public GroovyWebflowProperties()
  • Method Details

    • getActions

      public Map<String,String> getActions()
      This setting allows one to provide an alternative implementation to Spring Webflow's actions as implemented in Groovy. See CAS documentation on the outline of the script as well as any inputs and outputs expected. This setting is defined as map, where the key is expected to be the name/identifier of the bean that supplies the Spring Webflow action and the value is a resource path to the Groovy script (i.e. file:/path/to/Script.groovy) that shall be executed when the action is called upon by CAS and the Spring Webflow execution runtime. You will need to examine the CAS codebase to locate the proper bean identifier for the action in question. Note that Groovy scripts entirely supplant the CAS implementation for Spring Webflow actions and must be designed carefully and in compliance with the rest of the webflow orchestration.
    • setActions

      public GroovyWebflowProperties setActions(Map<String,String> actions)
      This setting allows one to provide an alternative implementation to Spring Webflow's actions as implemented in Groovy. See CAS documentation on the outline of the script as well as any inputs and outputs expected. This setting is defined as map, where the key is expected to be the name/identifier of the bean that supplies the Spring Webflow action and the value is a resource path to the Groovy script (i.e. file:/path/to/Script.groovy) that shall be executed when the action is called upon by CAS and the Spring Webflow execution runtime. You will need to examine the CAS codebase to locate the proper bean identifier for the action in question. Note that Groovy scripts entirely supplant the CAS implementation for Spring Webflow actions and must be designed carefully and in compliance with the rest of the webflow orchestration.
      Returns:
      this.