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 |
hstsDisabled |
protected boolean |
hstsIncludeSubdomainsDisabled |
protected String |
hstsMaxAge |
protected String |
hstsValue |
protected boolean |
xssProtectionDisabled |
protected String |
xssProtectionOption |
protected String |
xssProtectionValue |
Constructor and Description |
---|
HeaderSecurityProperties() |
protected boolean xssProtectionDisabled
protected String xssProtectionOption
protected String xssProtectionValue
protected boolean contentSecurityPolicyDisabled
protected String contentSecurityPolicyValue
protected boolean contentTypeOptionsDisabled
protected String contentTypeOptionsValue
protected boolean hstsDisabled
protected boolean hstsIncludeSubdomainsDisabled
protected String hstsMaxAge
protected String hstsValue
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)
public boolean isHstsDisabled()
public void setHstsDisabled(boolean hstsDisabled)
public boolean isHstsIncludeSubdomainsDisabled()
public void setHstsIncludeSubdomainsDisabled(boolean hstsIncludeSubdomainsDisabled)
public String getHstsValue()
public void setHstsValue(String hstsValue)
public String getHstsMaxAge()
public void setHstsMaxAge(String hstsMaxAge)
Copyright © 2022. All rights reserved.