@Bean
    @ConditionalOnAvailableEndpoint
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public CasConfigurationMetadataServerEndpoint configurationMetadataServerEndpoint(
        final ConfigurableApplicationContext applicationContext,
        @Qualifier("casConfigurationMetadataRepository")
        final CasConfigurationMetadataRepository casConfigurationMetadataRepository,
        final CasConfigurationProperties casProperties) {
        return new CasConfigurationMetadataServerEndpoint(casProperties,
            applicationContext, casConfigurationMetadataRepository);
    }
This is {@link CasCoreConfigurationMetadataAutoConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-configuration-metadata-repository/src/main/java/org/apereo/cas/config/CasCoreConfigurationMetadataAutoConfiguration.java