@Override
    public Ticket deserializeTicket(final String ticketContent, final String type) {
        if (StringUtils.isBlank(type)) {
            throw new InvalidTicketException("Invalid ticket type [blank] specified");
        }
        val serializer = ticketSerializationExecutionPlan.getTicketSerializer(type);
        if (serializer == null) {
            throw new IllegalArgumentException("Unable to find ticket deserializer for " + type);
        }
        return Unchecked.supplier(() -> {
            val clazz = Class.forName(type);
            return deserializeTicket(ticketContent, (Class) clazz);
        }).get();
    }
This is {@link DefaultTicketStringSerializationManager}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/ticket/serialization/DefaultTicketStringSerializationManager.java