Class ProxyTicket

java.lang.Object
net.shibboleth.idp.cas.ticket.Ticket
net.shibboleth.idp.cas.ticket.ProxyTicket

public class ProxyTicket
extends Ticket
CAS proxy ticket.
  • Field Details

    • pgTicketId

      @Nonnull private final String pgTicketId
      Proxy-granting ticket ID used to create ticket.
  • Constructor Details

    • ProxyTicket

      public ProxyTicket​(@Nonnull String id, @Nonnull String service, @Nonnull Instant expiration, @Nonnull String pgtId)
      Creates a new authenticated ticket with an identifier, service, and expiration date.
      Parameters:
      id - Ticket ID.
      service - Service that requested the ticket.
      expiration - Expiration instant.
      pgtId - Proxy-granting ticket ID used to create ticket.
  • Method Details

    • getPgtId

      @Nonnull public String getPgtId()
      Get the proxy-granting ticket ID used to create ticket.
      Returns:
      proxy-granting ticket ID used to create ticket
    • newInstance

      protected Ticket newInstance​(String newId)
      Description copied from class: Ticket
      Create a new ticket with this ticket's service and expiration.
      Overrides:
      newInstance in class Ticket
      Parameters:
      newId - new ticket ID
      Returns:
      newly created ticket