@Component(value="initialFlowSetupAction")
public final class InitialFlowSetupAction
extends org.springframework.webflow.action.AbstractAction
Note: This is technically not threadsafe, 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.
| Constructor and Description |
|---|
InitialFlowSetupAction() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext context) |
void |
setArgumentExtractors(java.util.List<org.jasig.cas.web.support.ArgumentExtractor> argumentExtractors) |
void |
setEnableFlowOnAbsentServiceRequest(boolean enableFlowOnAbsentServiceRequest)
Decide whether CAS should allow authentication requests
when no service is present in the request.
|
void |
setServicesManager(org.jasig.cas.services.ServicesManager servicesManager)
Set the service manager to allow access to the registry
to retrieve the registered service details associated
with an incoming service.
|
void |
setTicketGrantingTicketCookieGenerator(org.jasig.cas.web.support.CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator) |
void |
setWarnCookieGenerator(org.jasig.cas.web.support.CookieRetrievingCookieGenerator warnCookieGenerator) |
protected org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext context)
throws java.lang.Exception
doExecute in class org.springframework.webflow.action.AbstractActionjava.lang.Exception@Autowired
public void setTicketGrantingTicketCookieGenerator(@Qualifier(value="ticketGrantingTicketCookieGenerator")
org.jasig.cas.web.support.CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator)
@Autowired
public void setWarnCookieGenerator(@Qualifier(value="warnCookieGenerator")
org.jasig.cas.web.support.CookieRetrievingCookieGenerator warnCookieGenerator)
public void setArgumentExtractors(java.util.List<org.jasig.cas.web.support.ArgumentExtractor> argumentExtractors)
@Autowired
public void setServicesManager(@Qualifier(value="servicesManager")
org.jasig.cas.services.ServicesManager servicesManager)
servicesManager - the services manager@Autowired
public void setEnableFlowOnAbsentServiceRequest(@Value(value="${create.sso.missing.service:true}")
boolean enableFlowOnAbsentServiceRequest)
enableFlowOnAbsentServiceRequest - the enable flow on absent service request