@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "maxMindGeoLocationService")
    public GeoLocationService maxMindGeoLocationService(final CasConfigurationProperties casProperties) throws Exception {
        val properties = casProperties.getGeoLocation().getMaxmind();
        val cityDatabase = readDatabase(properties.getCityDatabase());
        val countryDatabase = readDatabase(properties.getCountryDatabase());
        return new MaxmindDatabaseGeoLocationService(properties, cityDatabase, countryDatabase, null);
    }
This is {@link CasGeoLocationMaxmindAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-geolocation-maxmind/src/main/java/org/apereo/cas/config/CasGeoLocationMaxmindAutoConfiguration.java