protected ProxyTicket produceTicket(final ProxyGrantingTicket proxyGrantingTicket,
                                        final Service service, final String ticketId) {
        val expirationPolicyToUse = determineExpirationPolicyForService(service);
        return proxyGrantingTicket.grantProxyTicket(
            ticketId,
            service,
            expirationPolicyToUse,
            serviceTicketSessionTrackingPolicy);
    }
The {@link DefaultProxyTicketFactory} is responsible for
creating {@link ProxyTicket} objects.

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