@ConditionalOnMissingBean(name = "ipGeoLocationService")
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public GeoLocationService ipGeoLocationService(final CasConfigurationProperties casProperties) {
        val key = casProperties.getGeoLocation().getIpGeoLocation().getApiKey();
        return new IPGeoLocationService(new IPGeolocationAPI(key));
    }
This is {@link CasIPGeoLocationAutoConfiguration}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-geolocation-ip/src/main/java/org/apereo/cas/config/CasIPGeoLocationAutoConfiguration.java