Class GoogleMapsProperties

java.lang.Object
org.apereo.cas.configuration.model.support.geo.BaseGeoLocationProperties
org.apereo.cas.configuration.model.support.geo.googlemaps.GoogleMapsProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-geolocation-googlemaps") public class GoogleMapsProperties extends BaseGeoLocationProperties
Since:
5.0.0
See Also:
  • Constructor Details

    • GoogleMapsProperties

      public GoogleMapsProperties()
  • Method Details

    • getApiKey

      public String getApiKey()
      Authenticate into google maps via an API key.
    • getClientId

      public String getClientId()
      Authenticate into google maps via a client id.
    • getClientSecret

      public String getClientSecret()
      Authenticate into google maps via a client secret.
    • getConnectTimeout

      public String getConnectTimeout()
      The connection timeout when reaching out to google maps.
    • isGoogleAppsEngine

      public boolean isGoogleAppsEngine()
      When true, a strategy for handling URL requests using Google App Engine's URL Fetch API.
    • setApiKey

      public GoogleMapsProperties setApiKey(String apiKey)
      Authenticate into google maps via an API key.
      Returns:
      this.
    • setClientId

      public GoogleMapsProperties setClientId(String clientId)
      Authenticate into google maps via a client id.
      Returns:
      this.
    • setClientSecret

      public GoogleMapsProperties setClientSecret(String clientSecret)
      Authenticate into google maps via a client secret.
      Returns:
      this.
    • setConnectTimeout

      public GoogleMapsProperties setConnectTimeout(String connectTimeout)
      The connection timeout when reaching out to google maps.
      Returns:
      this.
    • setGoogleAppsEngine

      public GoogleMapsProperties setGoogleAppsEngine(boolean googleAppsEngine)
      When true, a strategy for handling URL requests using Google App Engine's URL Fetch API.
      Returns:
      this.