Class TiangongProperties.Security

java.lang.Object
tech.riemann.nif.support.tiangong.autoconfigure.TiangongProperties.Security
Enclosing class:
TiangongProperties

public static class TiangongProperties.Security extends Object
  • Constructor Details

    • Security

      public Security()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • isSlowAttackProtection

      public boolean isSlowAttackProtection()
    • setSlowAttackProtection

      public void setSlowAttackProtection(boolean slowAttackProtection)
    • getSlowReadTimeoutMs

      public int getSlowReadTimeoutMs()
    • setSlowReadTimeoutMs

      public void setSlowReadTimeoutMs(int slowReadTimeoutMs)
    • getSlowWriteTimeoutMs

      public int getSlowWriteTimeoutMs()
    • setSlowWriteTimeoutMs

      public void setSlowWriteTimeoutMs(int slowWriteTimeoutMs)
    • isCcProtection

      public boolean isCcProtection()
    • setCcProtection

      public void setCcProtection(boolean ccProtection)
    • getCcMaxRequestsPerSecond

      public int getCcMaxRequestsPerSecond()
    • setCcMaxRequestsPerSecond

      public void setCcMaxRequestsPerSecond(int ccMaxRequestsPerSecond)
    • getCcWindowSeconds

      public int getCcWindowSeconds()
    • setCcWindowSeconds

      public void setCcWindowSeconds(int ccWindowSeconds)
    • getIpWhitelist

      public List<String> getIpWhitelist()
    • setIpWhitelist

      public void setIpWhitelist(List<String> ipWhitelist)
    • getIpBlacklist

      public List<String> getIpBlacklist()
    • setIpBlacklist

      public void setIpBlacklist(List<String> ipBlacklist)