Use new Pbkdf2PasswordEncoder factory methods

MSAL

In Spring Security 5.8 some Pbkdf2PasswordEncoder constructors have been deprecated in favor of factory methods. Replaces them with Pbkdf2PasswordEncoder.defaultsForSpringSecurity_v5_5() or an equivalent constructor, so existing password hashes keep verifying. Refer to the Spring Security migration docs for more information.

org.openrewrite.java.spring.security5.UpdatePbkdf2PasswordEncoder
mod run . --recipe=org.openrewrite.java.spring.security5.UpdatePbkdf2PasswordEncoder

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.