@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public TicketSerializationExecutionPlanConfigurer casWsSecurityTokenTicketSerializationExecutionPlanConfigurer(
        final ConfigurableApplicationContext applicationContext) {
        return plan -> {
            plan.registerTicketSerializer(new SecurityTokenTicketStringSerializer(applicationContext));
            plan.registerTicketSerializer(SecurityTokenTicket.class.getName(), new SecurityTokenTicketStringSerializer(applicationContext));
            plan.registerTicketSerializer(SecurityTokenTicket.PREFIX, new SecurityTokenTicketStringSerializer(applicationContext));
        };
    }
This is {@link CasWsSecurityTokenTicketComponentSerializationConfiguration}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-ws-sts/src/main/java/org/apereo/cas/config/CasWsSecurityTokenTicketComponentSerializationConfiguration.java