@Bean
    @ConditionalOnMissingBean(name = "restControllerEndpointDiscoverer")
    public RestActuatorEndpointDiscoverer restControllerEndpointDiscoverer(
        final ConfigurableApplicationContext applicationContext,
        final ObjectProvider<PathMapper> endpointPathMappers,
        final ObjectProvider<Collection<EndpointFilter<RestActuatorControllerEndpoint>>> filters) {
        return new RestActuatorEndpointDiscoverer(applicationContext,
            endpointPathMappers.orderedStream().toList(),
            filters.getIfAvailable(Collections::emptyList));
    }
This is {@link CasCoreActuatorsConfiguration}.
Beans in this class are conditionally imported
depending on whether management endpoints are to be deployed
in a separate management context. 
@author Misagh Moayyed
@see CasCoreWebManagementContextConfiguration
@since 7.2.0
core/cas-server-core-web/src/main/java/org/apereo/cas/config/CasCoreActuatorsConfiguration.java