|
||||||||||
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.Ticket | +--edu.yale.its.tp.cas.ticket.TicketGrantingTicket
Represents a CAS ticket-granting ticket, typically vended as a cookie (TGC). This class represents, in the general sense, a ticket that is used to grant other ticket; it becomes a "powerful" TGC only when vended as such and stored in the TGC cache.
Constructor Summary | |
TicketGrantingTicket(java.lang.String username)
Constructs a new, immutable service ticket. |
Method Summary | |
void |
expire()
Markes the ticket as expired, preventing its further use and the validity of subordinate tickets "downstream" from it. |
java.lang.String |
getUsername()
Retrieves the ticket's username. |
boolean |
isExpired()
Returns true if the ticket is expired, false otherwise. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TicketGrantingTicket(java.lang.String username)
Method Detail |
public java.lang.String getUsername()
getUsername
in class Ticket
public void expire()
public boolean isExpired()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |