public interface TicketRegistry
This is a published and supported CAS Server 3 API.
| Modifier and Type | Method and Description |
|---|---|
void |
addTicket(Ticket ticket)
Add a ticket to the registry.
|
boolean |
deleteTicket(String ticketId)
Remove a specific ticket from the registry.
|
Ticket |
getTicket(String ticketId)
Retrieve a ticket from the registry.
|
Ticket |
getTicket(String ticketId,
Class<? extends Ticket> clazz)
Retrieve a ticket from the registry.
|
Collection<Ticket> |
getTickets()
Retrieve all tickets from the registry.
|
void addTicket(Ticket ticket)
ticket - The ticket we wish to add to the cache.Ticket getTicket(String ticketId, Class<? extends Ticket> clazz)
ticketId - the id of the ticket we wish to retrieve.clazz - The expected class of the ticket we wish to retrieve.InvalidTicketClassException - if the ticket does not match the
class provided.Ticket getTicket(String ticketId)
ticketId - the id of the ticket we wish to retrieveboolean deleteTicket(String ticketId)
ticketId - The id of the ticket to delete.Collection<Ticket> getTickets()
Copyright © 2004-2012 Jasig. All Rights Reserved.