Interface ProxyGrantingTicket

    • Field Detail

      • PROXY_GRANTING_TICKET_PREFIX

        static final java.lang.String PROXY_GRANTING_TICKET_PREFIX
        The prefix to use when generating an id for a Proxy Granting Ticket.
        See Also:
        Constant Field Values
      • PROXY_GRANTING_TICKET_IOU_PREFIX

        static final java.lang.String PROXY_GRANTING_TICKET_IOU_PREFIX
        The prefix to use when generating an id for a Proxy Granting Ticket IOU.
        See Also:
        Constant Field Values
    • Method Detail

      • grantProxyTicket

        ProxyTicket grantProxyTicket​(java.lang.String id,
                                     org.apereo.cas.authentication.principal.Service service,
                                     ExpirationPolicy expirationPolicy,
                                     boolean onlyTrackMostRecentSession)
        Grant a proxy ticket for a specific service.
        Parameters:
        id - The unique identifier for this ticket.
        service - The service for which we are granting a ticket
        expirationPolicy - the expiration policy.
        onlyTrackMostRecentSession - track the most recent session by keeping the latest service ticket
        Returns:
        the service ticket granted to a specific service for the principal of the TicketGrantingTicket