Package org.camunda.bpm
Class HttpHeaderSecurityIT
java.lang.Object
org.camunda.bpm.AbstractWebIntegrationTest
org.camunda.bpm.HttpHeaderSecurityIT
- 
Field SummaryFieldsFields inherited from class org.camunda.bpm.AbstractWebIntegrationTestappBasePath, appUrl, client, COOKIE_HEADER, csrfToken, HOST_NAME, httpPort, JSESSIONID_IDENTIFIER, service, sessionId, TASKLIST_PATH, testProperties, testUtil, X_XSRF_TOKEN_HEADER, XSRF_TOKEN_IDENTIFIER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidassertHeaderPresent(String expectedName, String expectedValue, com.sun.jersey.api.client.ClientResponse response) voidvoidvoidvoidvoidMethods inherited from class org.camunda.bpm.AbstractWebIntegrationTestbefore, createClient, createCookieHeader, createCookieHeader, destroyClient, getCookie, getCookieHeaders, getCookieValue, getCookieValue, getRestCtxPath, getTokens, getWebappCtxPath, getXsrfCookieValue, getXsrfTokenHeader, preventRaceConditions
- 
Field Details- 
CSP_VALUE- See Also:
 
 
- 
- 
Constructor Details- 
HttpHeaderSecurityITpublic HttpHeaderSecurityIT()
 
- 
- 
Method Details- 
createClient- Throws:
- Exception
 
- 
shouldCheckPresenceOfXssProtectionHeaderpublic void shouldCheckPresenceOfXssProtectionHeader()
- 
shouldCheckPresenceOfContentSecurityPolicyHeaderpublic void shouldCheckPresenceOfContentSecurityPolicyHeader()
- 
shouldCheckPresenceOfContentTypeOptionspublic void shouldCheckPresenceOfContentTypeOptions()
- 
shouldCheckAbsenceOfHstspublic void shouldCheckAbsenceOfHsts()
- 
assertHeaderPresent
 
-