Package org.camunda.bpm
Class HttpHeaderSecurityIT
- java.lang.Object
-
- org.camunda.bpm.AbstractWebIntegrationTest
-
- org.camunda.bpm.HttpHeaderSecurityIT
-
public class HttpHeaderSecurityIT extends AbstractWebIntegrationTest
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.AbstractWebIntegrationTest
APP_BASE_PATH, appUrl, client, connection, defaultHttpClient, HOST_NAME, httpPort, service, TASKLIST_PATH, testProperties, testUtil
-
-
Constructor Summary
Constructors Constructor Description HttpHeaderSecurityIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateClient()protected booleanisHeaderPresent(String expectedName, String expectedValue, com.sun.jersey.api.client.ClientResponse response)voidshouldCheckAbsenceOfHsts()voidshouldCheckPresenceOfContentSecurityPolicyHeader()voidshouldCheckPresenceOfContentTypeOptions()voidshouldCheckPresenceOfXssProtectionHeader()-
Methods inherited from class org.camunda.bpm.AbstractWebIntegrationTest
before, createClient, destroyClient, getCookieHeaders, getCookieValue, getHeaders, getRestCtxPath, getWebappCtxPath, getXsrfCookieValue, getXsrfTokenHeader, performRequest, preventRaceConditions
-
-
-
-
Method Detail
-
shouldCheckPresenceOfXssProtectionHeader
public void shouldCheckPresenceOfXssProtectionHeader()
-
shouldCheckPresenceOfContentSecurityPolicyHeader
public void shouldCheckPresenceOfContentSecurityPolicyHeader()
-
shouldCheckPresenceOfContentTypeOptions
public void shouldCheckPresenceOfContentTypeOptions()
-
shouldCheckAbsenceOfHsts
public void shouldCheckAbsenceOfHsts()
-
-