Class HeaderSecurityProperties
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.property.HeaderSecurityProperties
-
public class HeaderSecurityProperties extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancontentSecurityPolicyDisabledprotected java.lang.StringcontentSecurityPolicyValueprotected booleancontentTypeOptionsDisabledprotected java.lang.StringcontentTypeOptionsValueprotected booleanhstsDisabledprotected booleanhstsIncludeSubdomainsDisabledprotected java.lang.StringhstsMaxAgeprotected java.lang.StringhstsValueprotected booleanxssProtectionDisabledprotected java.lang.StringxssProtectionOptionprotected java.lang.StringxssProtectionValue
-
Constructor Summary
Constructors Constructor Description HeaderSecurityProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentSecurityPolicyValue()java.lang.StringgetContentTypeOptionsValue()java.lang.StringgetHstsMaxAge()java.lang.StringgetHstsValue()java.util.Map<java.lang.String,java.lang.String>getInitParams()java.lang.StringgetXssProtectionOption()java.lang.StringgetXssProtectionValue()booleanisContentSecurityPolicyDisabled()booleanisContentTypeOptionsDisabled()booleanisHstsDisabled()booleanisHstsIncludeSubdomainsDisabled()booleanisXssProtectionDisabled()voidsetContentSecurityPolicyDisabled(boolean contentSecurityPolicyDisabled)voidsetContentSecurityPolicyValue(java.lang.String contentSecurityPolicyValue)voidsetContentTypeOptionsDisabled(boolean contentTypeOptionsDisabled)voidsetContentTypeOptionsValue(java.lang.String contentTypeOptionsValue)voidsetHstsDisabled(boolean hstsDisabled)voidsetHstsIncludeSubdomainsDisabled(boolean hstsIncludeSubdomainsDisabled)voidsetHstsMaxAge(java.lang.String hstsMaxAge)voidsetHstsValue(java.lang.String hstsValue)voidsetXssProtectionDisabled(boolean xssProtectionDisabled)voidsetXssProtectionOption(java.lang.String xssProtectionOption)voidsetXssProtectionValue(java.lang.String xssProtectionValue)java.lang.StringtoString()
-
-
-
Field Detail
-
xssProtectionDisabled
protected boolean xssProtectionDisabled
-
xssProtectionOption
protected java.lang.String xssProtectionOption
-
xssProtectionValue
protected java.lang.String xssProtectionValue
-
contentSecurityPolicyDisabled
protected boolean contentSecurityPolicyDisabled
-
contentSecurityPolicyValue
protected java.lang.String contentSecurityPolicyValue
-
contentTypeOptionsDisabled
protected boolean contentTypeOptionsDisabled
-
contentTypeOptionsValue
protected java.lang.String contentTypeOptionsValue
-
hstsDisabled
protected boolean hstsDisabled
-
hstsIncludeSubdomainsDisabled
protected boolean hstsIncludeSubdomainsDisabled
-
hstsMaxAge
protected java.lang.String hstsMaxAge
-
hstsValue
protected java.lang.String hstsValue
-
-
Method Detail
-
getInitParams
public java.util.Map<java.lang.String,java.lang.String> getInitParams()
-
isXssProtectionDisabled
public boolean isXssProtectionDisabled()
-
setXssProtectionDisabled
public void setXssProtectionDisabled(boolean xssProtectionDisabled)
-
getXssProtectionOption
public java.lang.String getXssProtectionOption()
-
setXssProtectionOption
public void setXssProtectionOption(java.lang.String xssProtectionOption)
-
getXssProtectionValue
public java.lang.String getXssProtectionValue()
-
setXssProtectionValue
public void setXssProtectionValue(java.lang.String xssProtectionValue)
-
isContentSecurityPolicyDisabled
public boolean isContentSecurityPolicyDisabled()
-
setContentSecurityPolicyDisabled
public void setContentSecurityPolicyDisabled(boolean contentSecurityPolicyDisabled)
-
getContentSecurityPolicyValue
public java.lang.String getContentSecurityPolicyValue()
-
setContentSecurityPolicyValue
public void setContentSecurityPolicyValue(java.lang.String contentSecurityPolicyValue)
-
isContentTypeOptionsDisabled
public boolean isContentTypeOptionsDisabled()
-
setContentTypeOptionsDisabled
public void setContentTypeOptionsDisabled(boolean contentTypeOptionsDisabled)
-
getContentTypeOptionsValue
public java.lang.String getContentTypeOptionsValue()
-
setContentTypeOptionsValue
public void setContentTypeOptionsValue(java.lang.String contentTypeOptionsValue)
-
isHstsDisabled
public boolean isHstsDisabled()
-
setHstsDisabled
public void setHstsDisabled(boolean hstsDisabled)
-
isHstsIncludeSubdomainsDisabled
public boolean isHstsIncludeSubdomainsDisabled()
-
setHstsIncludeSubdomainsDisabled
public void setHstsIncludeSubdomainsDisabled(boolean hstsIncludeSubdomainsDisabled)
-
getHstsValue
public java.lang.String getHstsValue()
-
setHstsValue
public void setHstsValue(java.lang.String hstsValue)
-
getHstsMaxAge
public java.lang.String getHstsMaxAge()
-
setHstsMaxAge
public void setHstsMaxAge(java.lang.String hstsMaxAge)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-