2018-03-05 16:56:47 -06:00
[[new]]
2021-11-15 16:45:36 -07:00
= What's New in Spring Security 5.7
2018-03-05 16:56:47 -06:00
2021-11-15 16:45:36 -07:00
Spring Security 5.7 provides a number of new features.
2018-03-05 16:56:47 -06:00
Below are the highlights of the release.
2022-02-18 15:14:34 -06:00
2022-03-15 10:25:17 -04:00
[[whats-new-servlet]]
== Servlet
* Web
** Introduced xref:servlet/authentication/persistence.adoc#requestattributesecuritycontextrepository[`RequestAttributeSecurityContextRepository`]
** Introduced xref:servlet/authentication/persistence.adoc#securitycontextholderfilter[`SecurityContextHolderFilter`] - Ability to require explicit saving of the `SecurityContext`
2022-04-13 11:24:36 -03:00
** Added DSL support for xref:servlet/exploits/headers.adoc#servlet-headers-cross-origin-policies[Cross Origin Policies headers]
2022-03-15 10:25:17 -04:00
* OAuth 2.0 Client
** Allow configuring https://github.com/spring-projects/spring-security/issues/6548[PKCE for confidential clients]
2022-03-17 04:41:33 -04:00
** Allow configuring a https://github.com/spring-projects/spring-security/issues/9812[JWT assertion resolver] in `JwtBearerOAuth2AuthorizedClientProvider`
2022-03-17 09:56:45 -05:00
** Allow customizing claims on https://github.com/spring-projects/spring-security/issues/9855[JWT client assertions]
2022-03-15 10:25:17 -04:00
2022-04-13 11:24:36 -03:00
* SAML 2.0
** Added xref:servlet/appendix/namespace/http.adoc#nsa-saml2-login[SAML 2.0 Login & Single Logout XML support]
2022-03-15 10:25:17 -04:00
[[whats-new-webflux]]
== WebFlux
2022-03-17 12:56:17 -05:00
* Web
** Allow customizing https://github.com/spring-projects/spring-security/issues/10903[charset] in `ServerHttpBasicAuthenticationConverter`
2022-04-13 11:24:36 -03:00
** Added DSL support for xref:reactive/exploits/headers.adoc#webflux-headers-cross-origin-policies[Cross Origin Policies headers]
2022-03-17 12:56:17 -05:00
2022-03-15 10:25:17 -04:00
* OAuth 2.0 Client
** Allow configuring https://github.com/spring-projects/spring-security/issues/6548[PKCE for confidential clients]
2022-03-17 04:41:33 -04:00
** Allow configuring a https://github.com/spring-projects/spring-security/issues/9812[JWT assertion resolver] in `JwtBearerReactiveOAuth2AuthorizedClientProvider`