|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.yale.its.tp.cas.ticket.ActiveTicketCache | +--edu.yale.its.tp.cas.ticket.GrantorCache
Represents a generic cache of granting tickets. Can be used as a store for TGCs or PGTs.
Constructor Summary | |
GrantorCache(java.lang.Class ticketType,
int tolerance)
Constructs a new GrantorCache that is intended to store cookies of the given specific ticket type. |
Method Summary | |
void |
deleteTicket(java.lang.String ticketId)
Removes the ticket from the cache, and expires the ticket itself. |
protected java.lang.String |
newTicketId()
Generates and returns a new, unique ticket ID |
protected edu.yale.its.tp.cas.ticket.Ticket |
retrieveTicket(java.lang.String ticketId)
Retrieves the ticket with the given identifier. |
protected void |
storeTicket(java.lang.String ticketId,
edu.yale.its.tp.cas.ticket.Ticket t)
Stores the given ticket, associating it with the given identifier. |
Methods inherited from class edu.yale.its.tp.cas.ticket.ActiveTicketCache |
addTicket, getTicket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GrantorCache(java.lang.Class ticketType, int tolerance)
Method Detail |
protected java.lang.String newTicketId()
newTicketId
in class ActiveTicketCache
protected void storeTicket(java.lang.String ticketId, edu.yale.its.tp.cas.ticket.Ticket t) throws TicketException
storeTicket
in class ActiveTicketCache
TicketException
protected edu.yale.its.tp.cas.ticket.Ticket retrieveTicket(java.lang.String ticketId)
retrieveTicket
in class ActiveTicketCache
public void deleteTicket(java.lang.String ticketId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |