public class TicketGrantingTicketCheckAction
extends org.springframework.webflow.action.AbstractAction
NOT_EXISTS
- TGT not found in flow request context.INVALID
TGT has expired or is not found in ticket registry.VALID
- TGT found in ticket registry and has not expired.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INVALID
TGT invalid event ID="invalid".
|
static java.lang.String |
NOT_EXISTS
TGT does not exist event ID="notExists".
|
static java.lang.String |
VALID
TGT valid event ID="valid".
|
Constructor and Description |
---|
TicketGrantingTicketCheckAction() |
TicketGrantingTicketCheckAction(CentralAuthenticationService centralAuthenticationService)
Creates a new instance with the given ticket registry.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext requestContext)
Determines whether the TGT in the flow request context is valid.
|
public static final java.lang.String NOT_EXISTS
public static final java.lang.String INVALID
public static final java.lang.String VALID
public TicketGrantingTicketCheckAction()
public TicketGrantingTicketCheckAction(CentralAuthenticationService centralAuthenticationService)
centralAuthenticationService
- the central authentication serviceprotected org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext requestContext) throws java.lang.Exception
doExecute
in class org.springframework.webflow.action.AbstractAction
requestContext
- Flow request context.NOT_EXISTS
, INVALID
, or VALID
.java.lang.Exception
- in case ticket cannot be retrieved from the service layer