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.
  • Field Details

    • t

      @Nonnull private final Ticket t
      Ticket held by this context.
  • Constructor Details

    • TicketContext

      public TicketContext(@Nonnull Ticket ticket)
      Creates a new ticket context to hold a CAS protocol ticket.
      Parameters:
      ticket - Ticket to hold.
  • Method Details

    • getTicket

      @Nonnull public Ticket getTicket()
      Get the ticket held by this context.
      Returns:
      ticket held by this context