public class CreateTicketGrantingTicketAction
extends org.springframework.webflow.action.AbstractAction
TicketGrantingTicket creation and destruction. If the
action is given a TicketGrantingTicket and one also already exists, the old
one is destroyed and replaced with the new one. This action always returns
"success".| Constructor and Description |
|---|
CreateTicketGrantingTicketAction() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addMessageDescriptorToMessageContext(org.springframework.binding.message.MessageContext context,
org.apereo.cas.authentication.MessageDescriptor warning)
Adds a warning message to the message context.
|
protected org.apereo.cas.authentication.Authentication |
buildFinalAuthentication(org.apereo.cas.authentication.AuthenticationResult authenticationResult)
Build final authentication authentication.
|
protected org.apereo.cas.ticket.TicketGrantingTicket |
createOrUpdateTicketGrantingTicket(org.apereo.cas.authentication.AuthenticationResult authenticationResult,
org.apereo.cas.authentication.Authentication authentication,
java.lang.String ticketGrantingTicket)
Create or update ticket granting ticket ticket granting ticket.
|
org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext context) |
public org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext context)
doExecute in class org.springframework.webflow.action.AbstractActionprotected org.apereo.cas.authentication.Authentication buildFinalAuthentication(org.apereo.cas.authentication.AuthenticationResult authenticationResult)
authenticationResult - the authentication resultprotected org.apereo.cas.ticket.TicketGrantingTicket createOrUpdateTicketGrantingTicket(org.apereo.cas.authentication.AuthenticationResult authenticationResult,
org.apereo.cas.authentication.Authentication authentication,
java.lang.String ticketGrantingTicket)
authenticationResult - the authentication resultauthentication - the authenticationticketGrantingTicket - the ticket granting ticketprotected static void addMessageDescriptorToMessageContext(org.springframework.binding.message.MessageContext context,
org.apereo.cas.authentication.MessageDescriptor warning)
context - Message context.warning - Warning message.