@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "defaultWSFederationRelyingPartyAttributeWriter")
        public WSFederationRelyingPartyAttributeWriter defaultWSFederationRelyingPartyAttributeWriter(
            final CasConfigurationProperties casProperties) {
            val claims = new HashSet<>(casProperties.getAuthn().getWsfedIdp().getSts().getCustomClaims());
            return new DefaultWSFederationRelyingPartyAttributeWriter(claims);
        }
This is {@link CoreWsSecurityIdentityProviderConfiguration}.

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