Polish Documentation
Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
+1
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user