Closed aaujayasena closed 9 hours ago
Required Migration Steps:
In case customers have implemented their own custom adaptive functions,
@HostAccess.Export
imported from org.graalvm.polyglot.HostAccess
package to the method of the class that is implementing @FunctionalInterface
[AdaptiveAuth]
ScriptEngine = "openjdkNashorn"
[AdaptiveAuth]
ScriptEngine = "nashorn"
@shanggeeth Did we create a migration doc issue? If not shall we create it?
@shanggeeth Did we create a migration doc issue? If not shall we create it?
Migration Doc Issue: https://github.com/wso2/product-is/issues/20613
closing since we are tracking with https://github.com/wso2/product-is/issues/20613
Describe the issue: From 7.1.0 uses GraalJS as the default engine for adaptive authentication scripts, replacing Nashorn [1]. This change could potentially impact customers who have developed their own adaptive functions [2]. Therefore, It would be essential to develop a migration plan and prioritize.
[1] https://github.com/wso2/product-is/issues/21182 [2] https://is.docs.wso2.com/en/next/references/extend/authentication/conditional-auth/write-custom-functions-for-conditional-authentication/
Key Considerations: