Class TicketContext

  • All Implemented Interfaces:
    Iterable<org.opensaml.messaging.context.BaseContext>

    public final class TicketContext
    extends org.opensaml.messaging.context.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

        org.opensaml.messaging.context.BaseContext.ContextSetNoRemoveIteratorDecorator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Ticket t
      Ticket held by this context.
    • Constructor Summary

      Constructors 
      Constructor Description
      TicketContext​(Ticket ticket)
      Creates a new ticket context to hold a CAS protocol ticket.
    • Field Detail

      • t

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

      • TicketContext

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

      • getTicket

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