@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "samlRestServiceTicketResourceEntityResponseFactoryConfigurer")
    public ServiceTicketResourceEntityResponseFactoryConfigurer samlRestServiceTicketResourceEntityResponseFactoryConfigurer(
        @Qualifier("samlRestServiceTicketResourceEntityResponseFactory")
        final ServiceTicketResourceEntityResponseFactory samlRestServiceTicketResourceEntityResponseFactory) {
        return plan -> plan.registerFactory(samlRestServiceTicketResourceEntityResponseFactory);
    }
This is {@link SamlRestConfiguration}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-saml/src/main/java/org/apereo/cas/config/SamlRestConfiguration.java