@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "wsFederationComponentSerializationPlanConfigurer")
    public ComponentSerializationPlanConfigurer wsFederationComponentSerializationPlanConfigurer() {
        return plan -> {
            plan.registerSerializableClass(WSFederationRegisteredService.class);
            plan.registerSerializableClass(CustomNamespaceWSFederationClaimsReleasePolicy.class);
            plan.registerSerializableClass(WSFederationClaimsReleasePolicy.class);
        };
    }
This is {@link CoreWsSecurityIdentityProviderComponentSerializationConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-ws-idp/src/main/java/org/apereo/cas/config/CoreWsSecurityIdentityProviderComponentSerializationConfiguration.java