Class HeaderSecurityProperties


  • public class HeaderSecurityProperties
    extends java.lang.Object
    • 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
    • Constructor Detail

      • HeaderSecurityProperties

        public HeaderSecurityProperties()
    • 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 class java.lang.Object