Package net.shibboleth.idp.cas.ticket
Class TicketContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.cas.ticket.TicketContext
- All Implemented Interfaces:
Iterable<BaseContext>
public final class TicketContext extends BaseContext
IdP context that stores a granted CAS ticket.
This context is typically a child of
ProfileRequestContext
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TicketContext(Ticket ticket)
Creates a new ticket context to hold a CAS protocol ticket. -
Method Summary
Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
t
Ticket held by this context.
-
-
Constructor Details
-
TicketContext
Creates a new ticket context to hold a CAS protocol ticket.- Parameters:
ticket
- Ticket to hold.
-
-
Method Details
-
getTicket
Get the ticket held by this context.- Returns:
- ticket held by this context
-