@Bean
    @ConditionalOnMissingBean(name = "coreTicketsComponentSerializationPlanConfigurer")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public ComponentSerializationPlanConfigurer coreTicketsComponentSerializationPlanConfigurer() {
        return plan -> {
            plan.registerSerializableClass(RememberMeDelegatingExpirationPolicy.class);

            plan.registerSerializableClass(TicketGrantingTicketImpl.class);
            plan.registerSerializableClass(ServiceTicketImpl.class);
            plan.registerSerializableClass(ProxyGrantingTicketImpl.class);
            plan.registerSerializableClass(ProxyTicketImpl.class);
            plan.registerSerializableClass(DefaultEncodedTicket.class);
            plan.registerSerializableClass(TransientSessionTicketImpl.class);

            plan.registerSerializableClass(MultiTimeUseOrTimeoutExpirationPolicy.class);
            plan.registerSerializableClass(MultiTimeUseOrTimeoutExpirationPolicy.ServiceTicketExpirationPolicy.class);
            plan.registerSerializableClass(MultiTimeUseOrTimeoutExpirationPolicy.ProxyTicketExpirationPolicy.class);
            plan.registerSerializableClass(MultiTimeUseOrTimeoutExpirationPolicy.TransientSessionTicketExpirationPolicy.class);
            plan.registerSerializableClass(NeverExpiresExpirationPolicy.class);
            plan.registerSerializableClass(RememberMeDelegatingExpirationPolicy.class);
            plan.registerSerializableClass(TimeoutExpirationPolicy.class);
            plan.registerSerializableClass(HardTimeoutExpirationPolicy.class);
            plan.registerSerializableClass(AlwaysExpiresExpirationPolicy.class);
            plan.registerSerializableClass(ThrottledUseAndTimeoutExpirationPolicy.class);
            plan.registerSerializableClass(TicketGrantingTicketExpirationPolicy.class);
            plan.registerSerializableClass(FixedInstantExpirationPolicy.class);
            plan.registerSerializableClass(BaseDelegatingExpirationPolicy.class);

        };
    }
This is {@link CasCoreTicketComponentSerializationConfiguration}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-tickets/src/main/java/org/apereo/cas/config/CasCoreTicketComponentSerializationConfiguration.java