@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public ServiceFactory<SamlService> samlServiceFactory(
        @Qualifier(TenantExtractor.BEAN_NAME)
        final TenantExtractor tenantExtractor,
        @Qualifier(UrlValidator.BEAN_NAME)
        final UrlValidator urlValidator) {
        return new SamlServiceFactory(tenantExtractor, urlValidator);
    }
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