@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public GeoLocationService geoLocationService(final List<GeoLocationServiceConfigurer> providers) {
        val services = providers.stream()
            .map(GeoLocationServiceConfigurer::configure)
            .filter(BeanSupplier::isNotProxy)
            .sorted(AnnotationAwareOrderComparator.INSTANCE).toList();
        return BeanSupplier.of(GeoLocationService.class)
            .when(!services.isEmpty())
            .supply(services::getFirst)
            .otherwiseProxy()
            .get();
    }
This is {@link CasGeoLocationAutoConfiguration}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-geolocation/src/main/java/org/apereo/cas/config/CasGeoLocationAutoConfiguration.java