Migrate static OGNL method access to action wrapper methods
ProprietaryMigrates OGNL expressions using static method access (e.g., @com.app.Util@makeCode()) to use action wrapper methods instead. Static method access is disabled by default in Struts 6 for security reasons.
org. openrewrite. java. struts. migrate6. MigrateStaticOgnlMethodAccessmod run . --recipe= org. openrewrite. java. struts. migrate6. MigrateStaticOgnlMethodAccessInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.