Package org.camunda.bpm
Class CsrfPreventionIT
java.lang.Object
org.camunda.bpm.AbstractWebIntegrationTest
org.camunda.bpm.CsrfPreventionIT
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
Methods inherited from class org.camunda.bpm.AbstractWebIntegrationTest
before, createClient, createCookieHeader, createCookieHeader, destroyClient, getCookie, getCookieHeaders, getCookieValue, getCookieValue, getRestCtxPath, getTokens, getWebappCtxPath, getXsrfCookieValue, getXsrfTokenHeader, preventRaceConditions
-
Constructor Details
-
CsrfPreventionIT
public CsrfPreventionIT()
-
-
Method Details
-
createClient
- Throws:
Exception
-
shouldCheckPresenceOfCsrfPreventionCookie
public void shouldCheckPresenceOfCsrfPreventionCookie() -
shouldRejectModifyingRequest
public void shouldRejectModifyingRequest()
-