Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

e

Table of Contents

Overview

The Rhino plugin provides support for the Mozilla Rhino JavaScript engine for IdPs of version 4.1 and beyond. This is the old scripting engine that existed in Java 7 and earlier and was commonly used with IdP V2. It has always worked with some manual effort, but now that Nashorn has been removed from future Java versions, and the fact that it is somewhat simpler to use for some people, we have chosen to package a distribution of it that can be officially supported.

...

  • rhino

  • Rhino

  • js

  • JS

  • JavaScript

  • javascript

  • ECMAScript

  • emcascriptecmascript

Note that the IdP will look for other JSR-223 implementations prior to consulting the plugin.  So (for instance) specifying lang="js" on a JVM prior to JDK15 specifies the native Nashorn implementation, not this one. It's a good idea to be more specific so as to avoid surprises during upgrades.

...