public class HttpHeaderSecurityIT extends AbstractWebIntegrationTest
APP_BASE_PATH, appUrl, client, connection, defaultHttpClient, HOST_NAME, httpPort, service, TASKLIST_PATH, testProperties, testUtil
Constructor and Description |
---|
HttpHeaderSecurityIT() |
Modifier and Type | Method and Description |
---|---|
void |
createClient() |
protected boolean |
isHeaderPresent(String expectedName,
String expectedValue,
com.sun.jersey.api.client.ClientResponse response) |
void |
shouldCheckAbsenceOfHsts() |
void |
shouldCheckPresenceOfContentSecurityPolicyHeader() |
void |
shouldCheckPresenceOfContentTypeOptions() |
void |
shouldCheckPresenceOfXssProtectionHeader() |
before, createClient, destroyClient, getCookieHeaders, getCookieValue, getHeaders, getRestCtxPath, getWebappCtxPath, getXsrfCookieValue, getXsrfTokenHeader, performRequest, preventRaceConditions
public void shouldCheckPresenceOfXssProtectionHeader()
public void shouldCheckPresenceOfContentSecurityPolicyHeader()
public void shouldCheckPresenceOfContentTypeOptions()
public void shouldCheckAbsenceOfHsts()
Copyright © 2022. All rights reserved.