Class SuspiciousIPThrottlingConfiguration
java.lang.Object
com.auth0.json.mgmt.attackprotection.SuspiciousIPThrottlingConfiguration
Represents the Suspicious IP Throttling Configuration
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStage()
void
setAllowList
(List<String> allowList) Sets the list of trusted IP addresses that will not have attack protection enforced against them.void
setEnabled
(Boolean enabled) Sets whether or not suspicious IP throttling attack protections are active.void
setShields
(List<String> shields) Sets the action to take when a suspicious IP throttling threshold is violated.void
Sets the per-stage configuration options.
-
Constructor Details
-
SuspiciousIPThrottlingConfiguration
public SuspiciousIPThrottlingConfiguration()
-
-
Method Details
-
getEnabled
- Returns:
- whether or not suspicious IP throttling attack protections are active.
-
setEnabled
Sets whether or not suspicious IP throttling attack protections are active.- Parameters:
enabled
- whether or not suspicious IP throttling attack protections are active.
-
getShields
- Returns:
- the action to take when a suspicious IP throttling threshold is violated.
-
setShields
Sets the action to take when a suspicious IP throttling threshold is violated.- Parameters:
shields
- the action to take when a suspicious IP throttling threshold is violated.
-
getStage
- Returns:
- the per-stage configuration options.
-
setStage
Sets the per-stage configuration options.- Parameters:
stage
- the per-stage configuration options.
-
getAllowList
- Returns:
- the list of trusted IP addresses that will not have attack protection enforced against them.
-
setAllowList
Sets the list of trusted IP addresses that will not have attack protection enforced against them.- Parameters:
allowList
- the list of trusted IP addresses that will not have attack protection enforced against them.
-