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
This is
GoogleMapsProperties
.- Since:
- 5.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAuthenticate into google maps via an API key.Authenticate into google maps via a client id.Authenticate into google maps via a client secret.The connection timeout when reaching out to google maps.boolean
When true, a strategy for handling URL requests using Google App Engine's URL Fetch API.Authenticate into google maps via an API key.setClientId
(String clientId) Authenticate into google maps via a client id.setClientSecret
(String clientSecret) Authenticate into google maps via a client secret.setConnectTimeout
(String connectTimeout) The connection timeout when reaching out to google maps.setGoogleAppsEngine
(boolean googleAppsEngine) When true, a strategy for handling URL requests using Google App Engine's URL Fetch API.
-
Constructor Details
-
GoogleMapsProperties
public GoogleMapsProperties()
-
-
Method Details
-
getApiKey
Authenticate into google maps via an API key. -
getClientId
Authenticate into google maps via a client id. -
getClientSecret
Authenticate into google maps via a client secret. -
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
Authenticate into google maps via an API key.- Returns:
this
.
-
setClientId
Authenticate into google maps via a client id.- Returns:
this
.
-
setClientSecret
Authenticate into google maps via a client secret.- Returns:
this
.
-
setConnectTimeout
The connection timeout when reaching out to google maps.- Returns:
this
.
-
setGoogleAppsEngine
When true, a strategy for handling URL requests using Google App Engine's URL Fetch API.- Returns:
this
.
-