Class GeoLocationRequest
java.lang.Object
org.apereo.cas.authentication.adaptive.geo.GeoLocationRequest
- All Implemented Interfaces:
Serializable
This is
GeoLocationRequest.- Since:
- 5.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisValid()Check whether the geolocation contains enough data to proceed.setAccuracy(String accuracy) setLatitude(String latitude) setLongitude(String longitude) setTimestamp(String timestamp) toString()
-
Constructor Details
-
GeoLocationRequest
public GeoLocationRequest(double latitude, double longitude) -
GeoLocationRequest
public GeoLocationRequest()
-
-
Method Details
-
isValid
public boolean isValid()Check whether the geolocation contains enough data to proceed.- Returns:
- true/false
-
toString
-
getLatitude
-
getLongitude
-
getAccuracy
-
getTimestamp
-
setLatitude
- Returns:
this.
-
setLongitude
- Returns:
this.
-
setAccuracy
- Returns:
this.
-
setTimestamp
- Returns:
this.
-
equals
-
hashCode
public int hashCode()
-