Class SuspiciousIPThrottlingConfiguration

java.lang.Object
com.auth0.json.mgmt.attackprotection.SuspiciousIPThrottlingConfiguration

public class SuspiciousIPThrottlingConfiguration extends Object
Represents the Suspicious IP Throttling Configuration
See Also:
  • Constructor Details

    • SuspiciousIPThrottlingConfiguration

      public SuspiciousIPThrottlingConfiguration()
  • Method Details

    • getEnabled

      public Boolean getEnabled()
      Returns:
      whether or not suspicious IP throttling attack protections are active.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets whether or not suspicious IP throttling attack protections are active.
      Parameters:
      enabled - whether or not suspicious IP throttling attack protections are active.
    • getShields

      public List<String> getShields()
      Returns:
      the action to take when a suspicious IP throttling threshold is violated.
    • setShields

      public void setShields(List<String> shields)
      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

      public Stage getStage()
      Returns:
      the per-stage configuration options.
    • setStage

      public void setStage(Stage stage)
      Sets the per-stage configuration options.
      Parameters:
      stage - the per-stage configuration options.
    • getAllowList

      public List<String> getAllowList()
      Returns:
      the list of trusted IP addresses that will not have attack protection enforced against them.
    • setAllowList

      public void setAllowList(List<String> allowList)
      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.