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()
      • assertHeaderPresent

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