|
||||||||||
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 | +--edu.yale.its.tp.cas.ticket.ProxyGrantingTicket
Represents a CAS proxy-granting ticket (PGT), used to retrieve proxy tickets (PTs). Note that we extend TicketGrantingTicket; this doesn't mean we can act as a TGC: a TicketCache for TGCs will never store a PGT.
Constructor Summary | |
ProxyGrantingTicket(edu.yale.its.tp.cas.ticket.ServiceTicket parent,
java.lang.String proxyId)
Constructs a new, immutable ProxyGrantingTicket. |
Method Summary | |
edu.yale.its.tp.cas.ticket.ServiceTicket |
getParent()
Returns the ticket that was exchanged for this ProxyGrantingTicket. |
java.util.List |
getProxies()
Retrieves trust chain. |
java.lang.String |
getProxyService()
Returns the identifier for the service to whom this ticket will grant proxy tickets. |
java.lang.String |
getUsername()
Retrieves the ticket's username. |
boolean |
isExpired()
Returns true if the ticket (or any ticket in its grantor chain) is expired, false otherwise. |
Methods inherited from class edu.yale.its.tp.cas.ticket.TicketGrantingTicket |
expire |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProxyGrantingTicket(edu.yale.its.tp.cas.ticket.ServiceTicket parent, java.lang.String proxyId)
Method Detail |
public java.lang.String getUsername()
getUsername
in class TicketGrantingTicket
public edu.yale.its.tp.cas.ticket.ServiceTicket getParent()
public java.lang.String getProxyService()
public java.util.List getProxies()
public boolean isExpired()
isExpired
in class TicketGrantingTicket
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |