| java.lang.Object edu.yale.its.tp.cas.ticket.ActiveTicketCache edu.yale.its.tp.cas.ticket.OTUTicketCache edu.yale.its.tp.cas.ticket.LoginTicketCache
LoginTicketCache | public class LoginTicketCache extends OTUTicketCache (Code) | | Represents a cache of login tickets. These are one-time-use tickets provided on the login page that must be posted back to CAS in
order for a login to be successful. This fixes a bug in IE and Safari where going back through the history causes login
credentials to be reposted to CAS. This class is almost identical to ServiceTicketCache, except it is made to only hold
LoginTickets.
|
Constructor Summary | |
public | LoginTicketCache(int tolerance) Constructs a new ServiceTicketCache that is intended to store cookies of the given specific ticket type. |
LoginTicketCache | public LoginTicketCache(int tolerance)(Code) | | Constructs a new ServiceTicketCache 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.
|
getCacheSize | public int getCacheSize()(Code) | | Returns the current number of tickets in the ticket cache.
|
getSerialNumber | public int getSerialNumber()(Code) | | Returns the current ticket serial number (for monitoring)
|
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.
|
|
|