public class HeaderSecurityProperties extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
contentSecurityPolicyDisabled |
protected String |
contentSecurityPolicyValue |
protected boolean |
contentTypeOptionsDisabled |
protected String |
contentTypeOptionsValue |
protected boolean |
xssProtectionDisabled |
protected String |
xssProtectionOption |
protected String |
xssProtectionValue |
Constructor and Description |
---|
HeaderSecurityProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getContentSecurityPolicyValue() |
String |
getContentTypeOptionsValue() |
Map<String,String> |
getInitParams() |
String |
getXssProtectionOption() |
String |
getXssProtectionValue() |
boolean |
isContentSecurityPolicyDisabled() |
boolean |
isContentTypeOptionsDisabled() |
boolean |
isXssProtectionDisabled() |
void |
setContentSecurityPolicyDisabled(boolean contentSecurityPolicyDisabled) |
void |
setContentSecurityPolicyValue(String contentSecurityPolicyValue) |
void |
setContentTypeOptionsDisabled(boolean contentTypeOptionsDisabled) |
void |
setContentTypeOptionsValue(String contentTypeOptionsValue) |
void |
setXssProtectionDisabled(boolean xssProtectionDisabled) |
void |
setXssProtectionOption(String xssProtectionOption) |
void |
setXssProtectionValue(String xssProtectionValue) |
String |
toString() |
protected boolean xssProtectionDisabled
protected String xssProtectionOption
protected String xssProtectionValue
protected boolean contentSecurityPolicyDisabled
protected String contentSecurityPolicyValue
protected boolean contentTypeOptionsDisabled
protected String contentTypeOptionsValue
public boolean isXssProtectionDisabled()
public void setXssProtectionDisabled(boolean xssProtectionDisabled)
public String getXssProtectionOption()
public void setXssProtectionOption(String xssProtectionOption)
public String getXssProtectionValue()
public void setXssProtectionValue(String xssProtectionValue)
public boolean isContentSecurityPolicyDisabled()
public void setContentSecurityPolicyDisabled(boolean contentSecurityPolicyDisabled)
public String getContentSecurityPolicyValue()
public void setContentSecurityPolicyValue(String contentSecurityPolicyValue)
public boolean isContentTypeOptionsDisabled()
public void setContentTypeOptionsDisabled(boolean contentTypeOptionsDisabled)
public String getContentTypeOptionsValue()
public void setContentTypeOptionsValue(String contentTypeOptionsValue)
Copyright © 2021. All rights reserved.