| java.lang.Object edu.yale.its.tp.cas.ticket.ActiveTicketCache edu.yale.its.tp.cas.ticket.GrantorCache
GrantorCache | public class GrantorCache extends ActiveTicketCache (Code) | | Represents a generic cache of granting tickets. Can be used as a store for TGCs or PGTs.
|
Constructor Summary | |
public | GrantorCache(Class ticketType, int tolerance) Constructs a new GrantorCache that is intended to store cookies of the given specific ticket type. |
GrantorCache | public GrantorCache(Class ticketType, int tolerance)(Code) | | Constructs a new GrantorCache that is intended to store cookies of the given specific ticket type.
|
deleteTicket | public void deleteTicket(String ticketId)(Code) | | Removes the ticket from the cache, and expires the ticket itself.
|
getCacheSize | public int getCacheSize()(Code) | | Returns the number of grantors in the grantor cache.
|
newTicketId | protected String newTicketId()(Code) | | Generates and returns a new, unique ticket ID
|
retrieveTicket | protected Ticket retrieveTicket(String ticketId)(Code) | | Retrieves the ticket with the given identifier.
|
|
|