Package org.camunda.bpm
Class HttpHeaderSecurityIT
java.lang.Object
org.camunda.bpm.AbstractWebIntegrationTest
org.camunda.bpm.HttpHeaderSecurityIT
-
Field Summary
FieldsFields inherited from class org.camunda.bpm.AbstractWebIntegrationTest
appBasePath, appUrl, COOKIE_HEADER, csrfToken, HOST_NAME, httpPort, JSESSIONID_IDENTIFIER, service, sessionId, TASKLIST_PATH, testProperties, X_XSRF_TOKEN_HEADER, XSRF_TOKEN_IDENTIFIER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertHeaderPresent
(String expectedName, String expectedValue, kong.unirest.HttpResponse<String> response) void
void
void
void
void
Methods inherited from class org.camunda.bpm.AbstractWebIntegrationTest
before, createClient, createCookieHeader, createCookieHeader, getCookie, getCookieHeaders, getCookieValue, getCookieValue, getRestCtxPath, getTokens, getWebappCtxPath, getXsrfCookieValue, getXsrfTokenHeader, preventRaceConditions, setUpClass
-
Field Details
-
CSP_VALUE
- See Also:
-
-
Constructor Details
-
HttpHeaderSecurityIT
public HttpHeaderSecurityIT()
-
-
Method Details
-
createClient
- Throws:
Exception
-
shouldCheckPresenceOfXssProtectionHeader
public void shouldCheckPresenceOfXssProtectionHeader() -
shouldCheckPresenceOfContentSecurityPolicyHeader
public void shouldCheckPresenceOfContentSecurityPolicyHeader() -
shouldCheckPresenceOfContentTypeOptions
public void shouldCheckPresenceOfContentTypeOptions() -
shouldCheckAbsenceOfHsts
public void shouldCheckAbsenceOfHsts() -
assertHeaderPresent
-