Class HttpHeaderSecurityIT

    • Constructor Detail

      • HttpHeaderSecurityIT

        public HttpHeaderSecurityIT()
    • Method Detail

      • shouldCheckPresenceOfXssProtectionHeader

        public void shouldCheckPresenceOfXssProtectionHeader()
      • shouldCheckPresenceOfContentSecurityPolicyHeader

        public void shouldCheckPresenceOfContentSecurityPolicyHeader()
      • shouldCheckPresenceOfContentTypeOptions

        public void shouldCheckPresenceOfContentTypeOptions()
      • shouldCheckAbsenceOfHsts

        public void shouldCheckAbsenceOfHsts()
      • isHeaderPresent

        protected boolean isHeaderPresent​(String expectedName,
                                          String expectedValue,
                                          com.sun.jersey.api.client.ClientResponse response)