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 boolean
contentSecurityPolicyDisabled
protected java.lang.String
contentSecurityPolicyValue
protected boolean
contentTypeOptionsDisabled
protected java.lang.String
contentTypeOptionsValue
protected boolean
hstsDisabled
protected boolean
hstsIncludeSubdomainsDisabled
protected java.lang.String
hstsMaxAge
protected java.lang.String
hstsValue
protected boolean
xssProtectionDisabled
protected java.lang.String
xssProtectionOption
protected java.lang.String
xssProtectionValue
-
Constructor Summary
Constructors Constructor Description HeaderSecurityProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentSecurityPolicyValue()
java.lang.String
getContentTypeOptionsValue()
java.lang.String
getHstsMaxAge()
java.lang.String
getHstsValue()
java.util.Map<java.lang.String,java.lang.String>
getInitParams()
java.lang.String
getXssProtectionOption()
java.lang.String
getXssProtectionValue()
boolean
isContentSecurityPolicyDisabled()
boolean
isContentTypeOptionsDisabled()
boolean
isHstsDisabled()
boolean
isHstsIncludeSubdomainsDisabled()
boolean
isXssProtectionDisabled()
void
setContentSecurityPolicyDisabled(boolean contentSecurityPolicyDisabled)
void
setContentSecurityPolicyValue(java.lang.String contentSecurityPolicyValue)
void
setContentTypeOptionsDisabled(boolean contentTypeOptionsDisabled)
void
setContentTypeOptionsValue(java.lang.String contentTypeOptionsValue)
void
setHstsDisabled(boolean hstsDisabled)
void
setHstsIncludeSubdomainsDisabled(boolean hstsIncludeSubdomainsDisabled)
void
setHstsMaxAge(java.lang.String hstsMaxAge)
void
setHstsValue(java.lang.String hstsValue)
void
setXssProtectionDisabled(boolean xssProtectionDisabled)
void
setXssProtectionOption(java.lang.String xssProtectionOption)
void
setXssProtectionValue(java.lang.String xssProtectionValue)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-