Skip to content

Commit 9b40ce6

Browse files
committed
Update What's New section
1 parent 7949dd4 commit 9b40ce6

File tree

1 file changed

+52
-41
lines changed

1 file changed

+52
-41
lines changed
Lines changed: 52 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,61 @@
11
[[new]]
2-
== What's New in Spring Security 5.1
2+
== What's New in Spring Security 5.2
33

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

77
=== Servlet
88

9-
* Automatic password storage upgrades through {security-api-url}org/springframework/security/core/userdetails/UserDetailsPasswordService.html[UserDetailsPasswordService]
10-
* {gh-samples-url}/boot/oauth2webclient[OAuth 2.0 Client]
11-
** Customizable Authorize and Token requests
12-
** `authorization_code` grant support
13-
** `client_credentials` grant support
14-
* OAuth 2.0 Resource Server - support for {gh-samples-url}/boot/oauth2resourceserver[JWT-encoded bearer tokens]
15-
* Added OAuth2 <<oauth2Client-webclient-servlet,WebClient>> integration
16-
* <<request-matching,HTTP Firewall>> protects against HTTP Verb Tampering and Cross-site Tracing
17-
* <<exception-translation-filter,ExceptionTranslationFilter>> support for selecting an `AccessDeniedHandler` by `RequestMatcher`
18-
* <<csrf,CSRF>> support for excluding certain requests
19-
* Added Support for <<headers-feature,Feature Policy>>
20-
* Added {security-api-url}org/springframework/security/core/Transient.html[@Transient] authentication tokens
21-
* A modern look-and-feel for the default log in page
9+
* Added https://github.com/spring-projects/spring-security/issues/5557[nested builder] support in HTTP Security DSL
10+
* OAuth 2.0 Client
11+
** Introducing https://github.com/spring-projects/spring-security/pull/6845[OAuth2AuthorizedClientManager / OAuth2AuthorizedClientProvider]
12+
** Added https://github.com/spring-projects/spring-security/issues/7122[AuthorizedClientServiceOAuth2AuthorizedClientManager] which is capable of operating outside of a HttpServletRequest context
13+
** Public Client support with https://github.com/spring-projects/spring-security/issues/6446[PKCE]
14+
** Support for https://github.com/spring-projects/spring-security/issues/6003[Resource Owner Password Credentials] grant
15+
** Support for ID Token verification using a https://github.com/spring-projects/spring-security/issues/5465[Symmetric Key] via NimbusJwtDecoder
16+
** Added https://github.com/spring-projects/spring-security/issues/4442[nonce] to OpenID Connect Authentication Request
17+
** OpenID Connect https://github.com/spring-projects/spring-security/issues/5350[RP-Initiated Logout]
18+
** Updated <<oauth2client, documentation>>
19+
* OAuth 2.0 Resource Server
20+
** Introducing https://github.com/spring-projects/spring-security/issues/5200[Token Introspection] (Opaque Tokens)
21+
** https://github.com/spring-projects/spring-security/issues/5351[Multi-tenancy] support
22+
** Added ExchangeFilterFunction that performs https://github.com/spring-projects/spring-security/issues/5334[Bearer Token propagation] (Token Relay)
23+
** Support for multiple https://github.com/spring-projects/spring-security/issues/6883[JWS algorithms] via NimbusJwtDecoder
24+
** Test support for https://github.com/spring-projects/spring-security/issues/6634[mock JWT]
25+
** Added https://github.com/spring-projects/spring-security/issues/7033[JWE] sample
26+
** Updated <<oauth2resourceserver, documentation>>
2227

2328
=== WebFlux
2429

25-
* Automatic password storage upgrades through {security-api-url}org/springframework/security/core/userdetails/ReactiveUserDetailsPasswordService.html[ReactiveUserDetailsPasswordService]
26-
* Added <<webflux-oauth2,OAuth2>> support
27-
** Added <<webflux-oauth2-client,OAuth2 Client>> support
28-
** Added <<webflux-oauth2-resource-server,OAuth2 Resource Server>> support
29-
** Added OAuth2 <<webclient,WebClient>> integration
30-
* `@WithUserDetails` <<test-method-withuserdetails,now works>> with `ReactiveUserDetailsService`
31-
* Added <<webflux-cors,CORS>> support
32-
* Added support for the following <<webflux-headers,HTTP headers>>
33-
** <<webflux-headers-csp,Content Security Policy>>
34-
** <<webflux-headers-feature,Feature Policy>>
35-
** <<webflux-headers-referrer,Referrer Policy>>
36-
* <<webflux-redirect-https,Redirect to HTTPS>>
37-
* Improvements for {security-api-url}org/springframework/security/core/annotation/AuthenticationPrincipal.html[@AuthenticationPrincipal]
38-
** Support for resolving beans
39-
** Support for resolving `errorOnInvalidType`
40-
41-
=== Integrations
42-
43-
* <<jackson,Jackson Support>> works with `BadCredentialsException`
44-
* `@WithMockUser` <<test-method-withmockuser,supports>> customizing when the `SecurityContext` is setup in the test.
45-
For example, `@WithMockUser(setupBefore = TestExecutionEvent.TEST_EXECUTION)` will setup a user after JUnit's `@Before` and before the test executes.
46-
* <<ldap,LDAP Authentication>> can be configured with custom environment variables
47-
* <<x509,X.509 Authentication>> supports deriving the principal as a strategy
48-
49-
50-
30+
* Added https://github.com/spring-projects/spring-security/issues/7107[nested builder] support in HTTP Security DSL
31+
* OAuth 2.0 Client
32+
** Introducing https://github.com/spring-projects/spring-security/pull/7116[ReactiveOAuth2AuthorizedClientManager / ReactiveOAuth2AuthorizedClientProvider]
33+
** Public Client support with https://github.com/spring-projects/spring-security/issues/6446[PKCE]
34+
** Support for https://github.com/spring-projects/spring-security/issues/6003[Resource Owner Password Credentials] grant
35+
** Support for ID Token verification using a https://github.com/spring-projects/spring-security/issues/5465[Symmetric Key] via NimbusReactiveJwtDecoder
36+
** Added https://github.com/spring-projects/spring-security/issues/4442[nonce] to OpenID Connect Authentication Request
37+
** OpenID Connect https://github.com/spring-projects/spring-security/issues/5350[RP-Initiated Logout]
38+
* OAuth 2.0 Resource Server
39+
** Introducing https://github.com/spring-projects/spring-security/issues/6513[Token Introspection] (Opaque Tokens)
40+
** https://github.com/spring-projects/spring-security/issues/6727[Multi-tenancy] support
41+
** Added ExchangeFilterFunction that performs https://github.com/spring-projects/spring-security/issues/7284[Bearer Token propagation] (Token Relay)
42+
** Support for multiple https://github.com/spring-projects/spring-security/issues/6883[JWS algorithms] via NimbusReactiveJwtDecoder
43+
* Support for https://github.com/spring-projects/spring-security/issues/5038[X509]
44+
45+
=== Core
46+
47+
* Introducing https://github.com/spring-projects/spring-security/issues/7360[RSocket] support
48+
* Introducing https://github.com/spring-projects/spring-security/issues/6019[SAML Service Provider] support
49+
* Introducing https://github.com/spring-projects/spring-security/issues/6722[AuthenticationManagerResolver]
50+
* Introducing https://github.com/spring-projects/spring-security/issues/6506[AuthenticationFilter]
51+
* Introducing https://github.com/spring-projects/spring-security/issues/6546[@CurrentSecurityContext] for method arguments
52+
* Converting https://github.com/spring-projects/spring-security/issues/6494[key material] to Key instances
53+
* Support for https://github.com/spring-projects/spring-security/issues/4187[Clear-Site-Data] header
54+
* Introducing https://github.com/spring-projects/spring-security/issues/6453[CompositeHeaderWriter]
55+
* Added https://spring.io/blog/2019/06/10/announcing-nohttp[nohttp] to build
56+
* https://github.com/spring-projects/spring-security/issues/6774[JDK 12] support
57+
* Support for https://github.com/spring-projects/spring-security/issues/4469[path variables] in message expressions
58+
* Configuration classes are proxy-less and support https://github.com/spring-projects/spring-security/issues/6818[proxyBeanMethods=false]
59+
* Added https://github.com/spring-projects/spring-security/issues/5354[Argon2PasswordEncoder]
60+
* Support upgrading between different https://github.com/spring-projects/spring-security/pull/7042[BCrypt encodings]
61+
* Support upgrading between different https://github.com/spring-projects/spring-security/pull/7057[SCrypt encodings]

0 commit comments

Comments
 (0)