public interface ServiceTicket extends Ticket
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX
Prefix generally applied to unique ids generated by UniqueIdGenenerator.
|
| Modifier and Type | Method and Description |
|---|---|
Service |
getService()
Retrieve the service this ticket was given for.
|
TicketGrantingTicket |
grantTicketGrantingTicket(String id,
Authentication authentication,
ExpirationPolicy expirationPolicy)
Method to grant a TicketGrantingTicket from this service to the
authentication.
|
boolean |
isFromNewLogin()
Determine if this ticket was created at the same time as a
TicketGrantingTicket.
|
boolean |
isValidFor(Service service) |
getCountOfUses, getCreationTime, getGrantingTicket, getId, isExpiredstatic final String PREFIX
Service getService()
boolean isFromNewLogin()
boolean isValidFor(Service service)
TicketGrantingTicket grantTicketGrantingTicket(String id, Authentication authentication, ExpirationPolicy expirationPolicy)
id - The unique identifier for this ticket.authentication - The Authentication we wish to grant a ticket for.Copyright © 2004-2012 Jasig. All Rights Reserved.