Browse Source

Polish Documentation

Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
pull/18881/head
Josh Cummings 2 weeks ago
parent
commit
8dcaa6dfcb
  1. 3
      docs/modules/ROOT/pages/whats-new.adoc
  2. 1
      web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationEntryPoint.java

3
docs/modules/ROOT/pages/whats-new.adoc

@ -1,4 +1,7 @@ @@ -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

1
web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationEntryPoint.java

@ -80,6 +80,7 @@ public class BasicAuthenticationEntryPoint implements AuthenticationEntryPoint, @@ -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),

Loading…
Cancel
Save