SEC-2230: Fix Header tests
This commit is contained in:
parent
2e852f4613
commit
e0cad0d684
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue