2018-03-06 06:56:47 +08:00
[[new]]
2021-12-14 06:57:36 +08:00
= What's New in Spring Security 6.0
2018-03-06 06:56:47 +08:00
2021-12-14 06:57:36 +08:00
Spring Security 6.0 provides a number of new features.
2018-03-06 06:56:47 +08:00
Below are the highlights of the release.
2022-09-08 02:51:58 +08:00
== Breaking Changes
2022-09-08 02:39:26 +08:00
* https://github.com/spring-projects/spring-security/issues/10556[gh-10556] - Remove EOL OpenSaml 3 Support.
Use the OpenSaml 4 Support instead.
2022-09-08 02:51:58 +08:00
* https://github.com/spring-projects/spring-security/issues/8980[gh-8980] - Remove unsafe/deprecated `Encryptors.querableText(CharSequence,CharSequence)`.
2022-09-20 19:32:30 +08:00
Instead use data storage to encrypt values.
* https://github.com/spring-projects/spring-security/issues/11520[gh-11520] - Remember Me uses SHA256 by default
2022-09-21 07:18:05 +08:00
* https://github.com/spring-projects/spring-security/issues/8819 - Move filters to web package
Reorganize imports
2022-09-21 07:44:05 +08:00
* https://github.com/spring-projects/spring-security/issues/7349 - Move filter and token to appropriate packages
Reorganize imports
2022-09-26 22:48:52 +08:00
* https://github.com/spring-projects/spring-security/issues/11026[gh-11026] - Use `RequestAttributeSecurityContextRepository` instead of `NullSecurityContextRepository`
2022-09-26 23:07:50 +08:00
* https://github.com/spring-projects/spring-security/pull/11887[gh-11827] - Change default authority for `oauth2Login()`
2022-10-04 03:02:18 +08:00
* https://github.com/spring-projects/spring-security/issues/10347[gh-10347] - Remove `UsernamePasswordAuthenticationToken` check in `BasicAuthenticationFilter`
2022-09-30 21:31:15 +08:00
* https://github.com/spring-projects/spring-security/pull/11923[gh-11923] - Remove `WebSecurityConfigurerAdapter`.
Instead, create a https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter[SecurityFilterChain bean].
2022-10-05 00:29:39 +08:00
* https://github.com/spring-projects/spring-security/issues/11899[gh-11899] - Use `MvcRequestMatcher` by default if Spring MVC is present.
You can configure a different `RequestMatcher` by using the https://docs.spring.io/spring-security/reference/servlet/appendix/namespace/http.html#nsa-http-attributes[request-matcher attribute from <http>].