|
||||||||||
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.OTUTicketCache | +--edu.yale.its.tp.cas.ticket.ServiceTicketCache
Represents a generic cache of service tickets. Can be used as a store for STs or PTs.
Constructor Summary | |
ServiceTicketCache(java.lang.Class ticketType,
int tolerance)
Constructs a new ServiceTicketCache 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. |
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.OTUTicketCache |
getTicket |
Methods inherited from class edu.yale.its.tp.cas.ticket.ActiveTicketCache |
addTicket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceTicketCache(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 |