mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-03-11 00:54:32 +00:00
Polish Documentation
Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
This commit is contained in:
parent
d1ce69ca99
commit
8dcaa6dfcb
@ -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
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user