whats-new.adoc 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. [[new]]
  2. = What's New in Spring Security 5.7
  3. Spring Security 5.7 provides a number of new features.
  4. Below are the highlights of the release.
  5. [[whats-new-servlet]]
  6. == Servlet
  7. * Web
  8. ** Introduced xref:servlet/authentication/persistence.adoc#requestattributesecuritycontextrepository[`RequestAttributeSecurityContextRepository`]
  9. ** Introduced xref:servlet/authentication/persistence.adoc#securitycontextholderfilter[`SecurityContextHolderFilter`] - Ability to require explicit saving of the `SecurityContext`
  10. * OAuth 2.0 Client
  11. ** Allow configuring https://github.com/spring-projects/spring-security/issues/6548[PKCE for confidential clients]
  12. ** Allow configuring a https://github.com/spring-projects/spring-security/issues/9812[JWT assertion resolver] in `JwtBearerOAuth2AuthorizedClientProvider`
  13. ** Allow customizing claims on https://github.com/spring-projects/spring-security/issues/9855[JWT client assertions]
  14. [[whats-new-webflux]]
  15. == WebFlux
  16. * Web
  17. ** Allow customizing https://github.com/spring-projects/spring-security/issues/10903[charset] in `ServerHttpBasicAuthenticationConverter`
  18. * OAuth 2.0 Client
  19. ** Allow configuring https://github.com/spring-projects/spring-security/issues/6548[PKCE for confidential clients]
  20. ** Allow configuring a https://github.com/spring-projects/spring-security/issues/9812[JWT assertion resolver] in `JwtBearerReactiveOAuth2AuthorizedClientProvider`