@Override
    public String compact(final StringBuilder builder, final Ticket ticket) throws Exception {
        val proxyTicket = (ProxyTicket) ticket;
        builder.append(String.format("%s%s", DELIMITER, proxyTicket.getService().getShortenedId()));
        builder.append(compactAuthenticationAttempt(proxyTicket).toString());
        return builder.toString();
    }
This is {@link ProxyTicketCompactor}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-stateless-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/compact/ProxyTicketCompactor.java