构造器和说明 |
---|
SecurityBean() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
isCacheControlEnabled() |
boolean |
isContentSecurityPolicyEnabled() |
boolean |
isContentTypeOptionsEnabled() |
boolean |
isFileVerificationEnabled() |
boolean |
isFrameOptionsEnabled() |
boolean |
isHttpHeadersEnabled() |
boolean |
isSecurityCookieEnabled() |
boolean |
isXssProtectionEnabled() |
void |
setCacheControlEnabled(boolean cacheControlEnabled) |
void |
setContentSecurityPolicyEnabled(boolean contentSecurityPolicyEnabled) |
void |
setContentTypeOptionsEnabled(boolean contentTypeOptionsEnabled) |
void |
setFileVerificationEnabled(boolean fileVerificationEnabled) |
void |
setFrameOptionsEnabled(boolean frameOptionsEnabled) |
void |
setHttpHeadersEnabled(boolean httpHeadersEnabled) |
void |
setSecurityCookieEnabled(boolean securityCookieEnabled) |
void |
setXssProtectionEnabled(boolean xssProtectionEnabled) |
getExtraAttribute, setExtraAttribute
public boolean isSecurityCookieEnabled()
public void setSecurityCookieEnabled(boolean securityCookieEnabled)
public boolean isFileVerificationEnabled()
public void setFileVerificationEnabled(boolean fileVerificationEnabled)
public boolean isHttpHeadersEnabled()
public void setHttpHeadersEnabled(boolean httpHeadersEnabled)
public boolean isXssProtectionEnabled()
public void setXssProtectionEnabled(boolean xssProtectionEnabled)
public boolean isFrameOptionsEnabled()
public void setFrameOptionsEnabled(boolean frameOptionsEnabled)
public boolean isContentTypeOptionsEnabled()
public void setContentTypeOptionsEnabled(boolean contentTypeOptionsEnabled)
public boolean isContentSecurityPolicyEnabled()
public void setContentSecurityPolicyEnabled(boolean contentSecurityPolicyEnabled)
public boolean isCacheControlEnabled()
public void setCacheControlEnabled(boolean cacheControlEnabled)