Use new Argon2PasswordEncoder factory methods

MSAL

In Spring Security 5.8 some Argon2PasswordEncoder constructors have been deprecated in favor of factory methods. Refer to the Spring Security migration docs for more information.

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

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