Skip to content

Commit 6222c5f

Browse files
jzheauxjgrandja
authored andcommitted
Add What's New in 5.4
Closes gh-9001
1 parent edecb47 commit 6222c5f

File tree

1 file changed

+63
-51
lines changed

1 file changed

+63
-51
lines changed
Lines changed: 63 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[new]]
2-
== What's New in Spring Security 5.3
2+
== What's New in Spring Security 5.4
33

4-
Spring Security 5.3 provides a number of new features.
4+
Spring Security 5.4 provides a number of new features.
55
Below are the highlights of the release.
66

77
[[whats-new-documentation]]
@@ -11,70 +11,82 @@ We will continue our effort to rewrite the documentation.
1111

1212
Here's what you'll see in this release:
1313

14-
* Added <<servlet-architecture,Servlet Security: The Big Picture>>
15-
* Updated <<servlet-authentication,Servlet Authentication>>
16-
** Rewrote
17-
** Added how things work, including <<servlet-delegatingfilterproxy-figure,diagrams>>
18-
* Added {gh-samples-url}/boot/kotlin[Kotlin samples]
19-
* Reskinned
20-
** Added scrolling menu
21-
** Added <<servlet-authentication-userdetailsservice,toggle>>
22-
** Updated styles
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]
2327

2428
[[whats-new-servlet]]
2529
=== Servlet
26-
27-
* Added <<kotlin-config-httpsecurity,Kotlin DSL>>
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`]
2838
* OAuth 2.0 Client
29-
** Added Test support for <<testing-oauth2-client,OAuth 2.0 Client>>, <<testing-oauth2-login,OAuth 2.0 Login>>, and <<testing-oidc-login,OIDC Login>>
30-
** Improved https://github.com/spring-projects/spring-security/pull/7748[customizing the OAuth 2.0 Authorization Request]
31-
** Enhanced https://github.com/spring-projects/spring-security/issues/7842[OIDC logout success handler to support `\{baseUrl\}`]
32-
** Added https://github.com/spring-projects/spring-security/issues/7840[OAuth2Authorization success and failure handlers]
33-
** Added https://github.com/spring-projects/spring-security/issues/5184[XML support]
34-
** Added <<dbschema-oauth2-client,JDBC support for storing OAuth 2.0 tokens>>
35-
** Added https://github.com/spring-projects/spring-security/issues/4886[JSON serialization support for OAuth 2.0 tokens]
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`]
3647
* OAuth 2.0 Resource Server
37-
** Added support for <<oauth2resourceserver-multitenancy,multiple issuers>>
38-
** Added <<testing-opaque-token,test support for Opaque Tokens>>
39-
** Added <<oauth2resourceserver-jwt-validation-custom,generic claim validator>>
40-
** Added https://github.com/spring-projects/spring-security/issues/5185[XML support]
41-
** Improved https://github.com/spring-projects/spring-security/pull/7826[bearer token error handling] for JWT and Opaque Token
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]
4252
* SAML 2.0
43-
** Added <<servlet-saml2login-opensamlauthenticationprovider-authenticationmanager,AuthenticationManager>> configuration
44-
** Added support for https://github.com/spring-projects/spring-security/issues/7711[AuthNRequest signatures]
45-
** Added support for https://github.com/spring-projects/spring-security/pull/7759[AuthNRequest POST binding]
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]
4671

4772
[[whats-new-webflux]]
4873
=== WebFlux
4974

50-
* Added https://github.com/spring-projects/spring-security/issues/7636[DSL support for custom header writers]
51-
* OAuth 2.0 Client
52-
** Added Test support for https://github.com/spring-projects/spring-security/issues/7910[OAuth 2.0 Client], https://github.com/spring-projects/spring-security/issues/7828[OAuth 2.0 Login], and https://github.com/spring-projects/spring-security/issues/7680[OIDC Login]
53-
** Enhanced https://github.com/spring-projects/spring-security/issues/7842[OIDC logout success handler to support `\{baseUrl\}`]
54-
** Added https://github.com/spring-projects/spring-security/issues/7699[OAuth2Authorization success and failure handlers]
55-
** Added https://github.com/spring-projects/spring-security/issues/4886[JSON serialization support for OAuth 2.0 tokens]
56-
** Added https://github.com/spring-projects/spring-security/issues/7569[ReactiveOAuth2AuthorizedClientManager integration with AuthorizedClientService]
57-
* OAuth 2.0 Resource Server
58-
** Added support for <<webflux-oauth2resourceserver-multitenancy,multiple issuers>>
59-
** Added https://github.com/spring-projects/spring-security/issues/7827[test support for Opaque Tokens]
60-
** Improved https://github.com/spring-projects/spring-security/pull/7826[bearer token error handling] for JWT and Opaque Token
61-
62-
[[whats-new-rsocket]]
63-
=== RSocket
64-
65-
* Added support for https://github.com/spring-projects/spring-security/issues/7935[RSocket Authentication extension]
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`]
6678

6779
[[whats-new-additional]]
6880
=== Additional Updates
6981

70-
* Enhanced Authentication Event Publisher support
71-
** Updated https://github.com/spring-projects/spring-security/pull/7802[configuration support]
72-
** Added https://github.com/spring-projects/spring-security/issues/7825[default event] and https://github.com/spring-projects/spring-security/issues/7824[`Map`-based] exception mapping
73-
* Improved https://github.com/spring-projects/spring-security/issues/7891[integration with Spring Data]
74-
* Added support to https://github.com/spring-projects/spring-security/issues/7661[BCrypt to hash byte arrays]
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`]
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]
7588

7689
[[whats-new-build]]
7790
=== Build Changes
7891

79-
* Changed build to https://github.com/spring-projects/spring-security/issues/7788[use version ranges]
80-
* Removed https://github.com/spring-projects/spring-security/issues/4939[dependency on Groovy]
92+
* https://github.com/spring-projects/spring-security/issues/8113[Improved performance further]

0 commit comments

Comments
 (0)