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 Modifier and Type Field Description static java.lang.StringCSP_VALUE-
Fields inherited from class org.camunda.bpm.AbstractWebIntegrationTest
appBasePath, appUrl, client, COOKIE_HEADER, csrfToken, HOST_NAME, httpPort, JSESSIONID_IDENTIFIER, service, sessionId, TASKLIST_PATH, testProperties, testUtil, X_XSRF_TOKEN_HEADER, XSRF_TOKEN_IDENTIFIER
-
-
Constructor Summary
Constructors Constructor Description HttpHeaderSecurityIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertHeaderPresent(java.lang.String expectedName, java.lang.String expectedValue, com.sun.jersey.api.client.ClientResponse response)voidcreateClient()voidshouldCheckAbsenceOfHsts()voidshouldCheckPresenceOfContentSecurityPolicyHeader()voidshouldCheckPresenceOfContentTypeOptions()voidshouldCheckPresenceOfXssProtectionHeader()-
Methods inherited from class org.camunda.bpm.AbstractWebIntegrationTest
before, createClient, createCookieHeader, createCookieHeader, destroyClient, getCookie, getCookieHeaders, getCookieValue, getCookieValue, getRestCtxPath, getTokens, getWebappCtxPath, getXsrfCookieValue, getXsrfTokenHeader, preventRaceConditions
-
-
-
-
Field Detail
-
CSP_VALUE
public static final java.lang.String CSP_VALUE
- See Also:
- Constant Field Values
-
-
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()
-
assertHeaderPresent
protected void assertHeaderPresent(java.lang.String expectedName, java.lang.String expectedValue, com.sun.jersey.api.client.ClientResponse response)
-
-