From 8dcaa6dfcbb1aef6fe3912709d1263d9320d6543 Mon Sep 17 00:00:00 2001 From: Josh Cummings <3627351+jzheaux@users.noreply.github.com> Date: Tue, 10 Mar 2026 07:43:43 -0600 Subject: [PATCH] Polish Documentation Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com> --- docs/modules/ROOT/pages/whats-new.adoc | 3 +++ .../web/authentication/www/BasicAuthenticationEntryPoint.java | 1 + 2 files changed, 4 insertions(+) diff --git a/docs/modules/ROOT/pages/whats-new.adoc b/docs/modules/ROOT/pages/whats-new.adoc index 4343f01b26..252aa26137 100644 --- a/docs/modules/ROOT/pages/whats-new.adoc +++ b/docs/modules/ROOT/pages/whats-new.adoc @@ -1,4 +1,7 @@ [[new]] = What's New in Spring Security 7.1 +== Web + * https://github.com/spring-projects/spring-security/pull/18634[gh-18634] - Added javadoc:org.springframework.security.web.util.matcher.InetAddressMatcher[] +* https://github.com/spring-projects/spring-security/issues/18755[gh-18755] - Include `charset` in `WWW-Authenticate` header diff --git a/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationEntryPoint.java b/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationEntryPoint.java index 44eacab8aa..1e0b3ebe90 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationEntryPoint.java +++ b/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationEntryPoint.java @@ -80,6 +80,7 @@ public class BasicAuthenticationEntryPoint implements AuthenticationEntryPoint, * the charset attribute from the header. As per RFC 7617, only UTF-8 is permitted. * @param charset the charset to use ({@link StandardCharsets#UTF_8} is the only * accepted value), or {@code null} to remove the charset attribute + * @since 7.1 */ public void setCharset(@Nullable Charset charset) { Assert.isTrue(charset == null || StandardCharsets.UTF_8.equals(charset),