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)
Attempts to ensure that the service specified matches the service associated with the ticket.
|
getCountOfUses, getCreationTime, getGrantingTicket, getId, isExpiredstatic final String PREFIX
Service getService()
boolean isFromNewLogin()
boolean isValidFor(Service service)
service - The incoming service to match this service ticket against.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.expirationPolicy - expiration policy associated with this ticketCopyright © 2004-2014 Jasig. All Rights Reserved.