Class ProxyTicket


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

      • pgTicketId

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

      • 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 Detail

      • 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