Package org.apereo.cas.ticket
Interface ServiceTicket
-
- All Superinterfaces:
java.lang.Comparable<Ticket>,java.io.Serializable,Ticket,TicketGrantingTicketAwareTicket
- All Known Subinterfaces:
ProxyTicket
public interface ServiceTicket extends Ticket, TicketGrantingTicketAwareTicket
Interface for a Service Ticket. A service ticket is used to grant access to a specific service for a principal. A Service Ticket is generally a one-time use ticket.- Since:
- 3.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPREFIXPrefix generally applied to unique ids generated by UniqueTicketIdGenerator.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apereo.cas.authentication.principal.ServicegetService()Retrieve the service this ticket was given for.-
Methods inherited from interface org.apereo.cas.ticket.Ticket
getCountOfUses, getCreationTime, getExpirationPolicy, getId, getPrefix, isExpired, markTicketExpired
-
Methods inherited from interface org.apereo.cas.ticket.TicketGrantingTicketAwareTicket
getTicketGrantingTicket
-
-
-
-
Field Detail
-
PREFIX
static final java.lang.String PREFIX
Prefix generally applied to unique ids generated by UniqueTicketIdGenerator.- See Also:
- Constant Field Values
-
-