@Bean
        @ConditionalOnAvailableEndpoint
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public CasEventsReportEndpoint casEventsReportEndpoint(
            @Qualifier(CasEventRepository.BEAN_NAME)
            final ObjectProvider<CasEventRepository> casEventRepository,
            final CasConfigurationProperties casProperties,
            final ConfigurableApplicationContext applicationContext) {
            return new CasEventsReportEndpoint(casProperties, applicationContext, casEventRepository);
        }
This is {@link CasCoreEventsAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
core/cas-server-core-events/src/main/java/org/apereo/cas/config/CasCoreEventsAutoConfiguration.java