protected ProxyGrantingTicket produceTicket(final ServiceTicket serviceTicket,
                                                final Authentication authentication,
                                                final String pgtId) {

        val proxyGrantingTicketExpirationPolicy = getProxyGrantingTicketExpirationPolicy(serviceTicket);
        val pgtIssuer = (ProxyGrantingTicketIssuerTicket) serviceTicket;
        return produceTicketWithAdequateExpirationPolicy(proxyGrantingTicketExpirationPolicy, pgtIssuer, authentication, pgtId);
    }
The {@link DefaultProxyGrantingTicketFactory} is responsible
for creating {@link ProxyGrantingTicket} objects.

@author Misagh Moayyed
@since 4.2
core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/ticket/factory/DefaultProxyGrantingTicketFactory.java