public class GenerateServiceTicketAction
extends org.springframework.webflow.action.AbstractAction
| Constructor and Description |
|---|
GenerateServiceTicketAction() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext context) |
protected boolean |
isGatewayPresent(org.springframework.webflow.execution.RequestContext context)
Checks if
gateway is present in the request params. |
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 simply grab the available authentication and produce the final result based on that.
doExecute in class org.springframework.webflow.action.AbstractActionprotected boolean isGatewayPresent(org.springframework.webflow.execution.RequestContext context)
gateway is present in the request params.context - the context