Create JJWT parsers with Jwts.parserBuilder()
ProprietaryReplaces Jwts.parser(), whose mutable JwtParser is deprecated since JJWT 0.11, with Jwts.parserBuilder(), configured with the same calls and built with build() before it parses or is stored. Parsers configured later through a variable are marked with a warning for a manual migration.
org. openrewrite. java. security. jjwt. UseJwtParserBuildermod run . --recipe= org. openrewrite. java. security. jjwt. UseJwtParserBuilderInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.