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 7eb78f4d91..b4c9ee2d40 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 @@ -227,7 +227,7 @@ public class HeadersConfigurer> extends } /** - * Allows completing configuration of Strict Transport Security and continuing + * Allows completing configuration of X-XSS-Protection and continuing * configuration of headers. * * @return the {@link HeadersConfigurer} for additional configuration @@ -282,7 +282,7 @@ public class HeadersConfigurer> extends } /** - * Allows completing configuration of Strict Transport Security and continuing + * Allows completing configuration of Cache Control and continuing * configuration of headers. * * @return the {@link HeadersConfigurer} for additional configuration