Migrate to JJWT 0.12

Proprietary

Migrates applications using JJWT (io.jsonwebtoken) to the latest 0.12 release, replacing the APIs removed or deprecated in 0.12.0, after migrating to 0.11 first. Code that can't be migrated safely is left unchanged and marked with a warning, as are changes that need a security review, such as parsers that get unsecured() to keep accepting unsecured JWTs.

org.openrewrite.java.security.jjwt.UpgradeToJjwt_0_12
mod run . --recipe=org.openrewrite.java.security.jjwt.UpgradeToJjwt_0_12

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