You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WebSecurityConfigurerAdapter is deprecated in the last versions of Spring-Security 5.x used in Spring-Boot 2.7.x. As of Spring-Security 6.x and Spring-Boot 3.x the WebSecurityConfigurerAdapter is removed.
The migration guide splits migration in 5 cases (parts are completed in WebSecurityConfigurerAdapter recipe in rewrite-spring project:
HttpSecurity (done)
WebSecurity (done)
Authentication
In-Memory (done)
LDAP
JDBC
Remaining cases are LDAP and JDBC authentication which seem challenging as methods bodies requires significant changes even going outside the scope of one method. Looks like only some migration cases are possible to cover with rewrite. It is challenging to write code that would reliably determine conditions when it is possible to perform automated migration.
Activity
BoykoAlex commentedon Feb 27, 2023
Marker and quickfix added to IDE: 7c5dee4
BoykoAlex commentedon Mar 9, 2023
Done for 4.18.0 release.
This is to be continued in future releases.
The overall plan is:
martinlippert commentedon Mar 9, 2023
So we can close this one and open new and separate issues for the work to be continued in the 4.18.1 cycle? (@BoykoAlex )
BoykoAlex commentedon Mar 9, 2023
Remaining bits moved to #1001