whats-new.adoc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. ** Added DSL support for xref:servlet/exploits/headers.adoc#servlet-headers-cross-origin-policies[Cross Origin Policies headers]
  11. * OAuth 2.0 Client
  12. ** Allow configuring https://github.com/spring-projects/spring-security/issues/6548[PKCE for confidential clients]
  13. ** Allow configuring a https://github.com/spring-projects/spring-security/issues/9812[JWT assertion resolver] in `JwtBearerOAuth2AuthorizedClientProvider`
  14. ** Allow customizing claims on https://github.com/spring-projects/spring-security/issues/9855[JWT client assertions]
  15. * SAML 2.0
  16. ** Added xref:servlet/appendix/namespace/http.adoc#nsa-saml2-login[SAML 2.0 Login & Single Logout XML support]
  17. [[whats-new-webflux]]
  18. == WebFlux
  19. * Web
  20. ** Allow customizing https://github.com/spring-projects/spring-security/issues/10903[charset] in `ServerHttpBasicAuthenticationConverter`
  21. ** Added DSL support for xref:reactive/exploits/headers.adoc#webflux-headers-cross-origin-policies[Cross Origin Policies headers]
  22. * OAuth 2.0 Client
  23. ** Allow configuring https://github.com/spring-projects/spring-security/issues/6548[PKCE for confidential clients]
  24. ** Allow configuring a https://github.com/spring-projects/spring-security/issues/9812[JWT assertion resolver] in `JwtBearerReactiveOAuth2AuthorizedClientProvider`