public class SecurityConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
SecurityConfig() |
SecurityConfig(SecurityConfig source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
AclConfig |
getAclConfig()
Get Custom rule.
|
BotConfig |
getBotConfig()
Get Bot configuration.
|
DetectLengthLimitConfig |
getDetectLengthLimitConfig()
Get Detect length limit configuration.
|
DropPageConfig |
getDropPageConfig()
Get Custom block page settings.
|
ExceptConfig |
getExceptConfig()
Get Exception rule configuration.
|
IpTableConfig |
getIpTableConfig()
Get Basic access control.
|
RateLimitConfig |
getRateLimitConfig()
Get Rate limiting.
|
SlowPostConfig |
getSlowPostConfig()
Get Slow attack configuration.
|
SwitchConfig |
getSwitchConfig()
Get Switch setting of the 7-layer protection.
|
TemplateConfig |
getTemplateConfig()
Get Template configuration.
|
WafConfig |
getWafConfig()
Get Managed rule.
|
void |
setAclConfig(AclConfig AclConfig)
Set Custom rule.
|
void |
setBotConfig(BotConfig BotConfig)
Set Bot configuration.
|
void |
setDetectLengthLimitConfig(DetectLengthLimitConfig DetectLengthLimitConfig)
Set Detect length limit configuration.
|
void |
setDropPageConfig(DropPageConfig DropPageConfig)
Set Custom block page settings.
|
void |
setExceptConfig(ExceptConfig ExceptConfig)
Set Exception rule configuration.
|
void |
setIpTableConfig(IpTableConfig IpTableConfig)
Set Basic access control.
|
void |
setRateLimitConfig(RateLimitConfig RateLimitConfig)
Set Rate limiting.
|
void |
setSlowPostConfig(SlowPostConfig SlowPostConfig)
Set Slow attack configuration.
|
void |
setSwitchConfig(SwitchConfig SwitchConfig)
Set Switch setting of the 7-layer protection.
|
void |
setTemplateConfig(TemplateConfig TemplateConfig)
Set Template configuration.
|
void |
setWafConfig(WafConfig WafConfig)
Set Managed rule.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SecurityConfig()
public SecurityConfig(SecurityConfig source)
public WafConfig getWafConfig()
public void setWafConfig(WafConfig WafConfig)
WafConfig
- Managed rule. if the parameter is null or not filled, use the last set configuration by default.public RateLimitConfig getRateLimitConfig()
public void setRateLimitConfig(RateLimitConfig RateLimitConfig)
RateLimitConfig
- Rate limiting. if the parameter is null or not filled, the configuration last set will be used by default.public AclConfig getAclConfig()
public void setAclConfig(AclConfig AclConfig)
AclConfig
- Custom rule. specifies if the parameter is null or not filled, use the last set configuration by default.public BotConfig getBotConfig()
public void setBotConfig(BotConfig BotConfig)
BotConfig
- Bot configuration. if the parameter is null or not filled, use the last set configuration by default.public SwitchConfig getSwitchConfig()
public void setSwitchConfig(SwitchConfig SwitchConfig)
SwitchConfig
- Switch setting of the 7-layer protection. if the parameter is null or not filled, use the last set configuration by default.public IpTableConfig getIpTableConfig()
public void setIpTableConfig(IpTableConfig IpTableConfig)
IpTableConfig
- Basic access control. if the parameter is null or not filled, use the last set configuration by default.public ExceptConfig getExceptConfig()
public void setExceptConfig(ExceptConfig ExceptConfig)
ExceptConfig
- Exception rule configuration. if the parameter is null or not filled, use the last set configuration by default.public DropPageConfig getDropPageConfig()
public void setDropPageConfig(DropPageConfig DropPageConfig)
DropPageConfig
- Custom block page settings. if the parameter is null or not filled, use the last set configuration by default.public TemplateConfig getTemplateConfig()
public void setTemplateConfig(TemplateConfig TemplateConfig)
TemplateConfig
- Template configuration. specifies parameter usage for output only.public SlowPostConfig getSlowPostConfig()
public void setSlowPostConfig(SlowPostConfig SlowPostConfig)
SlowPostConfig
- Slow attack configuration. if the parameter is null or not filled, use the last set configuration by default.public DetectLengthLimitConfig getDetectLengthLimitConfig()
public void setDetectLengthLimitConfig(DetectLengthLimitConfig DetectLengthLimitConfig)
DetectLengthLimitConfig
- Detect length limit configuration. for output usage only.Copyright © 2025. All rights reserved.