1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Polish Documentation

Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
This commit is contained in:
Josh Cummings
2026-03-10 07:43:43 -06:00
parent d1ce69ca99
commit 8dcaa6dfcb
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -1,4 +1,7 @@
[[new]] [[new]]
= What's New in Spring Security 7.1 = 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/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
@@ -80,6 +80,7 @@ public class BasicAuthenticationEntryPoint implements AuthenticationEntryPoint,
* the charset attribute from the header. As per RFC 7617, only UTF-8 is permitted. * 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 * @param charset the charset to use ({@link StandardCharsets#UTF_8} is the only
* accepted value), or {@code null} to remove the charset attribute * accepted value), or {@code null} to remove the charset attribute
* @since 7.1
*/ */
public void setCharset(@Nullable Charset charset) { public void setCharset(@Nullable Charset charset) {
Assert.isTrue(charset == null || StandardCharsets.UTF_8.equals(charset), Assert.isTrue(charset == null || StandardCharsets.UTF_8.equals(charset),