Package org.apereo.cas.web.flow
Class GenerateServiceTicketAction
- java.lang.Object
-
- org.springframework.webflow.action.AbstractAction
-
- org.apereo.cas.web.flow.GenerateServiceTicketAction
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.webflow.execution.Action
public class GenerateServiceTicketAction extends org.springframework.webflow.action.AbstractActionAction to generate a service ticket for a given Ticket Granting Ticket and Service.- Since:
- 3.0.0
-
-
Constructor Summary
Constructors Constructor Description GenerateServiceTicketAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.webflow.execution.EventdoExecute(org.springframework.webflow.execution.RequestContext context)protected booleanisGatewayPresent(org.springframework.webflow.execution.RequestContext context)Checks ifgatewayis present in the request params.
-
-
-
Method Detail
-
doExecute
protected org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext context)
In the initial primary authentication flow, credentials are cached and available. Since they are authenticated as part of submission first, there is no need to doubly authenticate and verify credentials.
In subsequent authentication flows where a TGT is available and only an ST needs to be created, there are no cached copies of the credential, since we do have a TGT available. So we will grab the available authentication and produce the final result based on that.
- Specified by:
doExecutein classorg.springframework.webflow.action.AbstractAction
-
isGatewayPresent
protected boolean isGatewayPresent(org.springframework.webflow.execution.RequestContext context)
Checks ifgatewayis present in the request params.- Parameters:
context- the context- Returns:
- true, if gateway present
-
-