whats-new.md 2.8 KB
Newer Older
茶陵後's avatar
茶陵後 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
# What’s New in Spring Security 5.6

Spring Security 5.6 provides a number of new features.
Below are the highlights of the release.

* All new [Antora](https://antora.org/) based [documentation](https://docs.spring.io/spring-security/).

## Servlet

* Core

  * Introduced [`SecurityContextChangedListener`](https://github.com/spring-projects/spring-security/issues/10226)

  * Improved [Method Security Logging](https://github.com/spring-projects/spring-security/pull/10279)

* Configuration

  * Introduced [`AuthorizationManager`](https://github.com/spring-projects/spring-security/pull/9630) for method security

* SAML 2.0 Service Provider

  * Added [SAML 2.0 Single Logout Support](servlet/saml2/logout.html)

  * Added [Saml2AuthenticationRequestRepository](servlet/saml2/login/authentication-requests.html#servlet-saml2login-store-authn-request)

  * Added [`RelyingPartyRegistrationResolver`](servlet/saml2/login/overview.html#servlet-saml2login-rpr-relyingpartyregistrationresolver)

  * Improved `Saml2LoginConfigurer`'s handling of [`Saml2AuthenticationTokenConverter`](https://github.com/spring-projects/spring-security/issues/10268)

* OAuth 2.0 Login

  * Added [`Converter` for `Authentication` result](https://github.com/spring-projects/spring-security/pull/10041)

* OAuth 2.0 Client

  * Improved [Client Credentials encoding](https://github.com/spring-projects/spring-security/pull/9791)

  * Improved [Access Token Response parsing](https://github.com/spring-projects/spring-security/pull/9779)

  * Added [custom grant types support](https://github.com/spring-projects/spring-security/pull/10155) for Authorization Requests

  * Introduced [JwtEncoder](https://github.com/spring-projects/spring-security/pull/9208)

* Testing

  * Added support to [propagate the TestSecurityContextHolder to SecurityContextHolder](https://github.com/spring-projects/spring-security/pull/9737)

## WebFlux

* OAuth 2.0 Login

  * Improved [Reactive OAuth 2.0 Login Documentation](reactive/oauth2/login/index.html)

* OAuth 2.0 Client

  * Improved [Client Credentials encoding](https://github.com/spring-projects/spring-security/pull/9791)

  * Added [custom headers support](https://github.com/spring-projects/spring-security/pull/10131) for Access Token Requests

  * Added [custom response parsing](https://github.com/spring-projects/spring-security/pull/10269) for Access Token Requests

  * Added [jwt-bearer Grant Type support](https://github.com/spring-projects/spring-security/pull/10327) for Access Token Requests

  * Added [JWT Client Authentication support](https://github.com/spring-projects/spring-security/pull/10336) for Access Token Requests

  * Improved [Reactive OAuth 2.0 Client Documentation](reactive/oauth2/client/index.html)

[Community](community.html)[Getting Spring Security](getting-spring-security.html)