@Bean
        @ConditionalOnMissingBean(name = "jpaSamlRegisteredServiceMetadataResolver")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public SamlRegisteredServiceMetadataResolver jpaSamlRegisteredServiceMetadataResolver(
            final CasConfigurationProperties casProperties,
            @Qualifier(OpenSamlConfigBean.DEFAULT_BEAN_NAME)
            final OpenSamlConfigBean openSamlConfigBean) {
            val idp = casProperties.getAuthn().getSamlIdp();
            return new JpaSamlRegisteredServiceMetadataResolver(idp, openSamlConfigBean);
        }
This is {@link SamlIdPJpaRegisteredServiceMetadataConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-saml-idp-metadata-jpa/src/main/java/org/apereo/cas/config/SamlIdPJpaRegisteredServiceMetadataConfiguration.java