@Bean
    @ConditionalOnMissingBean(name = "restControllerEndpointHandlerMapping")
    public RestActuatorEndpointHandlerMapping restControllerEndpointHandlerMapping(
        @Qualifier("restControllerEndpointDiscoverer")
        final EndpointsSupplier<RestActuatorControllerEndpoint> restEndpointsSupplier,
        final CorsEndpointProperties corsProperties, final WebEndpointProperties webEndpointProperties) {
        val endpointMapping = new EndpointMapping(webEndpointProperties.getBasePath());
        return new RestActuatorEndpointHandlerMapping(endpointMapping, restEndpointsSupplier.getEndpoints(),
            corsProperties.toCorsConfiguration());
    }
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