Package org.apereo.cas.web.flow.login
Class InitialFlowSetupAction
- java.lang.Object
-
- org.springframework.webflow.action.AbstractAction
-
- org.apereo.cas.web.flow.login.InitialFlowSetupAction
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.webflow.execution.Action
public class InitialFlowSetupAction extends org.springframework.webflow.action.AbstractActionClass to automatically set the paths for the CookieGenerators.Note: This is technically not thread-safe, but because its overriding with a constant value it doesn't matter.
Note: As of CAS 3.1, this is a required class that retrieves and exposes the values in the two cookies for subclasses to use.
- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description InitialFlowSetupAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureCookieGenerators(org.springframework.webflow.execution.RequestContext context)Configure the cookie generators in webflow.protected voidconfigureWebflowContext(org.springframework.webflow.execution.RequestContext context)Configure the webflow.protected voidconfigureWebflowForCustomFields(org.springframework.webflow.execution.RequestContext context)Configure the custom fields in webflow.protected static voidconfigureWebflowForPostParameters(org.springframework.webflow.execution.RequestContext context)Configure the POST parameters in webflow.protected voidconfigureWebflowForServices(org.springframework.webflow.execution.RequestContext context)Configure the services in webflow.protected voidconfigureWebflowForSsoParticipation(org.springframework.webflow.execution.RequestContext context, java.lang.String ticketGrantingTicketId)Configure the SSO participation in webflow.protected java.lang.StringconfigureWebflowForTicketGrantingTicket(org.springframework.webflow.execution.RequestContext context)Configure the ticket granting ticket in webflow.org.springframework.webflow.execution.EventdoExecute(org.springframework.webflow.execution.RequestContext context)
-
-
-
Method Detail
-
configureWebflowForPostParameters
protected static void configureWebflowForPostParameters(org.springframework.webflow.execution.RequestContext context)
Configure the POST parameters in webflow.- Parameters:
context- the webflow context
-
doExecute
public org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext context)
- Specified by:
doExecutein classorg.springframework.webflow.action.AbstractAction
-
configureWebflowForTicketGrantingTicket
protected java.lang.String configureWebflowForTicketGrantingTicket(org.springframework.webflow.execution.RequestContext context)
Configure the ticket granting ticket in webflow.- Parameters:
context- the webflow context- Returns:
- the TGT identifier or
null
-
configureWebflowForCustomFields
protected void configureWebflowForCustomFields(org.springframework.webflow.execution.RequestContext context)
Configure the custom fields in webflow.- Parameters:
context- the webflow context
-
configureWebflowForServices
protected void configureWebflowForServices(org.springframework.webflow.execution.RequestContext context)
Configure the services in webflow.- Parameters:
context- the webflow context
-
configureWebflowForSsoParticipation
protected void configureWebflowForSsoParticipation(org.springframework.webflow.execution.RequestContext context, java.lang.String ticketGrantingTicketId)Configure the SSO participation in webflow.- Parameters:
context- the webflow contextticketGrantingTicketId- the TGT identifier
-
configureWebflowContext
protected void configureWebflowContext(org.springframework.webflow.execution.RequestContext context)
Configure the webflow.- Parameters:
context- the webflow context
-
configureCookieGenerators
protected void configureCookieGenerators(org.springframework.webflow.execution.RequestContext context)
Configure the cookie generators in webflow.- Parameters:
context- the webflow context
-
-