@ConditionalOnMissingBean(name = "samlServiceResponseBuilder")
        @Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public ResponseBuilder samlServiceResponseBuilder(
            @Qualifier(ServicesManager.BEAN_NAME)
            final ServicesManager servicesManager,
            @Qualifier(UrlValidator.BEAN_NAME)
            final UrlValidator urlValidator) {
            return new SamlServiceResponseBuilder(servicesManager, urlValidator);
        }
This is {@link SamlConfiguration} that creates the necessary OpenSAML context and beans.

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