@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "restSamlRegisteredServiceMetadataResolutionPlanConfigurer")
    public SamlRegisteredServiceMetadataResolutionPlanConfigurer restSamlRegisteredServiceMetadataResolutionPlanConfigurer(
        @Qualifier("restSamlRegisteredServiceMetadataResolver")
        final SamlRegisteredServiceMetadataResolver restSamlRegisteredServiceMetadataResolver) {
        return plan -> plan.registerMetadataResolver(restSamlRegisteredServiceMetadataResolver);
    }
This is {@link SamlIdPRestfulMetadataConfiguration}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-saml-idp-metadata-rest/src/main/java/org/apereo/cas/config/SamlIdPRestfulMetadataConfiguration.java