diff --git a/config/src/main/java/org/springframework/security/config/annotation/web/configurers/HeadersConfigurer.java b/config/src/main/java/org/springframework/security/config/annotation/web/configurers/HeadersConfigurer.java index 9d007ec7faf..d3070699f5e 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/web/configurers/HeadersConfigurer.java +++ b/config/src/main/java/org/springframework/security/config/annotation/web/configurers/HeadersConfigurer.java @@ -148,7 +148,7 @@ public HeadersConfigurer contentTypeOptions(Customizer * Allows customizing the {@link XXssProtectionHeaderWriter} which adds the X-XSS-Protection header *

* @return the {@link XXssConfig} for additional customizations @@ -162,7 +162,7 @@ public XXssConfig xssProtection() { * *

* Allows customizing the {@link XXssProtectionHeaderWriter} which adds the X-XSS-Protection header *

* @param xssCustomizer the {@link Customizer} to provide more options for the