SEC-2230: Fix Header tests

This commit is contained in:
Rob Winch 2013-08-15 16:52:58 -05:00
parent 2e852f4613
commit e0cad0d684
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public final class HeadersConfigurer<H extends HttpSecurityBuilder<H>> extends A
* @return the {@link HeadersConfigurer} for additional customizations
*/
public HeadersConfigurer<H> xssProtection() {
return addHeaderWriter(new XContentTypeOptionsHeaderWriter());
return addHeaderWriter(new XXssProtectionHeaderWriter());
}
/**