|
1 | 1 | [[new]]
|
2 |
| -== What's New in Spring Security 5.4 |
| 2 | +== What's New in Spring Security 5.5 |
3 | 3 |
|
4 |
| -Spring Security 5.4 provides a number of new features. |
| 4 | +Spring Security 5.5 provides a number of new features. |
5 | 5 | Below are the highlights of the release.
|
6 | 6 |
|
7 |
| -[[whats-new-documentation]] |
8 |
| -=== Documentation Updates |
9 |
| - |
10 |
| -We will continue our effort to rewrite the documentation. |
11 |
| - |
12 |
| -Here's what you'll see in this release: |
13 |
| - |
14 |
| -* Added <<oauth2resourceserver,OAuth 2.0 Resource Server diagrams>> for <<oauth2resourceserver-jwt-architecture,JWT>> and <<oauth2resourceserver-opaque-architecture,Opaque Token>> |
15 |
| -* Restructured <<servlet-saml2login,SAML 2.0 Relying Party documentation>> and added diagrams |
16 |
| - |
17 |
| -[[whats-new-logging]] |
18 |
| -=== Logging Updates |
19 |
| - |
20 |
| -We have begun an effort to restructure our logging. |
21 |
| - |
22 |
| -Here's what you'll see in this release: |
23 |
| - |
24 |
| -* Restructured https://github.com/spring-projects/spring-security/commit/fa7baf551dc55eab50b9ad94720e7521f0b1d26f[authorization logs] |
25 |
| -* Restructured https://github.com/spring-projects/spring-security/commit/fa7baf551dc55eab50b9ad94720e7521f0b1d26f[Form Login] and https://github.com/spring-projects/spring-security/commit/02d1516c566a58574af0a1d0391fd2ec8c5ad774[HTTP Basic] authentication logs |
26 |
| -* Added https://github.com/spring-projects/spring-security/commit/bf067d679fb5990d6b3d31cee292af171f8a5014[Resource Server] https://github.com/spring-projects/spring-security/commit/b2728059ae903d027d0da0f4a25bed6df213a0ce[logs] |
27 |
| - |
28 | 7 | [[whats-new-servlet]]
|
29 | 8 | === Servlet
|
30 |
| -* Configuration |
31 |
| -** Added support for https://github.com/spring-projects/spring-security/issues/8804[publishing `SecurityFilterChain` as a `@Bean`] |
32 |
| -* Kotlin DSL |
33 |
| -** Added https://github.com/spring-projects/spring-security/issues/8981[`authenticationManagerResolver`] |
34 |
| -** Added https://github.com/spring-projects/spring-security/issues/8892[`hasAnyRole` and `hasAnyAuthority`] |
35 |
| -** Added https://github.com/spring-projects/spring-security/issues/8823[custom HeaderWriter support] |
36 |
| -** Updated to https://github.com/spring-projects/spring-security/issues/8697[use reified types] |
37 |
| -** Added https://github.com/spring-projects/spring-security/pull/8350[`authorize()` method that accepts `HttpMethod`] |
38 | 9 | * OAuth 2.0 Client
|
39 |
| -** Polished <<testing-oauth2-client,OAuth 2.0 Client>> test support to not require an `HttpSessionOAuth2AuthorizedClientRepository` bean |
40 |
| -** Added support for https://github.com/spring-projects/spring-security/issues/8453[client ID and secret placeholders in XML support] |
41 |
| -** Refined `ClientRegistrations` to https://github.com/spring-projects/spring-security/issues/8514[not default scopes to the OIDC `scopes_supported` attribute] |
42 |
| -** Allow for https://github.com/spring-projects/spring-security/issues/8903[custom Client Authentication Method] in `ClientRegistration` |
43 |
| -** Enhanced `OAuth2AuthorizedClientArgumentResolver` to https://github.com/spring-projects/spring-security/issues/8700[pick up `OAuth2AuthorizedClientManager` from the application context] |
44 |
| -** Added https://github.com/spring-projects/spring-security/issues/8669[`OAuth2AuthorizedClientArgumentResolver` support to XML config] |
45 |
| -** Added `RequestCache` support to https://github.com/spring-projects/spring-security/issues/8120[`OAuth2AuthorizationCodeGrantFilter`] |
46 |
| -** Added https://github.com/spring-projects/spring-security/issues/8326[`issuerUri` to `ClientRegistration`] |
47 |
| -* OAuth 2.0 Resource Server |
48 |
| -** Added <<oauth2resourceserver-jwt-timeouts,caching support in `NimbusJwtDecoder`>> |
49 |
| -** Made https://github.com/spring-projects/spring-security/issues/8186[principal claim configurable in `JwtAuthenticationConverter`] |
50 |
| -** Enhanced configuration to <<oauth2resourceserver-jwt-authorization-extraction,pick up `JwtAuthenticationConverter` as a `@Bean`>> |
51 |
| -** Simplified https://github.com/spring-projects/spring-security/pull/8740[attribute retrieval for opaque token] |
52 |
| -* SAML 2.0 |
53 |
| -** Made <<servlet-saml2login-sp-initiated-factory-custom-authnrequest,Open SAML `AuthnRequest` construction configurable>> |
54 |
| -** Enhanced <<servlet-saml2login-sp-initiated-factory-custom-authnrequest,`AuthnRequest` construction to access `HttpServletRequest` data>> |
55 |
| -** Opened <<servlet-saml2login-sp-initiated-factory-custom-authnrequest,`Saml2AuthenticationRequestContext` for extension>> |
56 |
| -** Enhanced <<servlet-saml2login-authenticatedprincipal,`Saml2AuthenticatedPrincipal` to include `<saml2:AttributeStatement>`>> |
57 |
| -** Enhanced <<servlet-saml2login-opensamlauthenticationprovider-userdetailsservice,`OpenSamlAuthenticationProvider` to support customizing the `Authentication` returned>> |
58 |
| -** Enhanced <<servlet-saml2login-opensamlauthenticationprovider-additionalvalidation,`OpenSamlAuthenticationProvider` to support customizing `<saml2:Assertion>` validation>> |
59 |
| -** Added support for <<servlet-saml2login-rpr-relyingpartyregistrationresolver,resolving the `RelyingPartyRegistration` from the request>> |
60 |
| -** Added <<servlet-saml2login-opensaml-customization,an initialization service to supercede Open SAML's `InitializationService`>> |
61 |
| -** Added a <<servlet-saml2login-metadata,SAML 2.0 Metadata Filter>> |
62 |
| -** Simplified <<servlet-saml2login-rpr-credentials,`Saml2X509Credential` construction>> |
63 |
| -** Restructured `RelyingPartyRegistration` to <<servlet-saml2login-relyingpartyregistration,separate relying and asserting party configurations>> |
64 |
| -** Added <<servlet-saml2login-relyingpartyregistration,configuration by Asserting Party Metadata endpoint>> |
65 |
| -** Restructured `RelyingPartyRegistration` to <<servlet-saml2login-relyingpartyregistration,reflect metadata terminology>> |
66 |
| -* LDAP |
67 |
| -** Added support for configuring https://github.com/spring-projects/spring-security/issues/8144[`ApacheDSContainer`] with a random port |
68 |
| -** Added support for configuring https://github.com/spring-projects/spring-security/issues/8138[application] with a random port |
69 |
| -* CSRF |
70 |
| -** Made the https://github.com/spring-projects/spring-security/pull/8749[`secure` flag configurable] |
71 |
| - |
72 |
| -[[whats-new-webflux]] |
73 |
| -=== WebFlux |
74 |
| - |
75 |
| -* Added https://github.com/spring-projects/spring-security/issues/5558[Kotlin DSL for WebFlux] |
76 |
| -* Added https://github.com/spring-projects/spring-security/issues/8324[`AuthoritiesMapper` configuration] to OAuth 2.0 Login |
77 |
| -* Added https://github.com/spring-projects/spring-security/issues/8599[`SwitchUserWebFilter`] |
78 |
| - |
79 |
| -[[whats-new-additional]] |
80 |
| -=== Additional Updates |
81 |
| - |
82 |
| -* Renamed https://github.com/spring-projects/spring-security/issues/8676[whitelist and blacklist to allowlist and blocklist] |
83 |
| -* Added https://github.com/spring-projects/spring-security/pull/7052[`RequestRejectedHandler`] |
84 |
| -* Strengthened https://github.com/spring-projects/spring-security/pull/8644[`StrictHttpFirewall`] to <<servlet-httpfirewall-headers-parameters,verify header and parameter names and values>> |
85 |
| -* Made https://github.com/spring-projects/spring-security/issues/5438[`SessionRegistry` aware of `SessionIdChangedEvent`] |
86 |
| -* Allow https://github.com/spring-projects/spring-security/issues/8402[`AesBytesEncryptor` to be constructed with a real key] |
87 |
| -* https://github.com/spring-projects/spring-security/pull/8450[Deprecated OpenID 2.0 support] |
88 |
| - |
89 |
| -[[whats-new-build]] |
90 |
| -=== Build Changes |
91 | 10 |
|
92 |
| -* https://github.com/spring-projects/spring-security/issues/8113[Improved performance further] |
| 11 | +** Added support for https://github.com/spring-projects/spring-security/pull/9520[Jwt Client Authentication] `private_key_jwt` and `client_secret_jwt` |
| 12 | +** Added https://github.com/spring-projects/spring-security/pull/9535[Jwt Bearer Authorization Grant] support |
| 13 | +** Added https://github.com/spring-projects/spring-security/pull/8765[R2DBC implementation] of `ReactiveOAuth2AuthorizedClientService` |
0 commit comments