Class HttpHeaderSecurityIT

java.lang.Object
org.finos.fluxnova.bpm.AbstractWebIntegrationTest
org.finos.fluxnova.bpm.HttpHeaderSecurityIT

public class HttpHeaderSecurityIT extends AbstractWebIntegrationTest
  • Field Details

  • Constructor Details

    • HttpHeaderSecurityIT

      public HttpHeaderSecurityIT()
  • Method Details

    • createClient

      @BeforeEach public void createClient() throws Exception
      Throws:
      Exception
    • shouldCheckPresenceOfXssProtectionHeader

      @Test @Timeout(value=10000L, unit=MILLISECONDS) public void shouldCheckPresenceOfXssProtectionHeader()
    • shouldCheckPresenceOfContentSecurityPolicyHeader

      @Test @Timeout(value=10000L, unit=MILLISECONDS) public void shouldCheckPresenceOfContentSecurityPolicyHeader()
    • shouldCheckPresenceOfContentTypeOptions

      @Test @Timeout(value=10000L, unit=MILLISECONDS) public void shouldCheckPresenceOfContentTypeOptions()
    • shouldCheckAbsenceOfHsts

      @Test @Timeout(value=10000L, unit=MILLISECONDS) public void shouldCheckAbsenceOfHsts()
    • assertHeaderPresent

      protected void assertHeaderPresent(String expectedName, String expectedValue, kong.unirest.HttpResponse<String> response)