Class HttpHeaderSecurityIT

    • Constructor Detail

      • HttpHeaderSecurityIT

        public HttpHeaderSecurityIT()
    • Method Detail

      • createClient

        public void createClient()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCheckPresenceOfXssProtectionHeader

        public void shouldCheckPresenceOfXssProtectionHeader()
      • shouldCheckPresenceOfContentSecurityPolicyHeader

        public void shouldCheckPresenceOfContentSecurityPolicyHeader()
      • shouldCheckPresenceOfContentTypeOptions

        public void shouldCheckPresenceOfContentTypeOptions()
      • shouldCheckAbsenceOfHsts

        public void shouldCheckAbsenceOfHsts()
      • isHeaderPresent

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