Find User.withDefaultPasswordEncoder() usage

Proprietary

Flags any call to User.withDefaultPasswordEncoder() from Spring Security. The factory is documented as for non-production demos only: it stores credentials in memory with a fixed encoder and is unsafe for real workloads.

org.openrewrite.java.security.search.FindUserWithDefaultPasswordEncoder
mod run . --recipe=org.openrewrite.java.security.search.FindUserWithDefaultPasswordEncoder

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