@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public ServiceFactoryConfigurer samlServiceFactoryConfigurer(
        @Qualifier("samlServiceFactory")
        final ServiceFactory<SamlService> samlServiceFactory) {
        return () -> CollectionUtils.wrap(samlServiceFactory);
    }
This is {@link SamlServiceFactoryConfiguration}.

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