Rhino Javascript Engine (com.soa.rhino.scriptengine)

Configuration for the Rhino Javascript engine

Enable Java Class Whitelist (rhino.java.class.shutter.whitelistEnabled)

Set allowed java class instantiation. When unrestricted any Java class loaded in the current process can be instantiated from Javascript. To restrict to only specified packages and/or classes set this property to true. Does not require a restart.

Default: false

Whitelisted Java Classes and Packages (rhino.java.class.shutter.whitelist)

List of java packages and/or classes that can be instantiated from Javascript in one delimited string. The format is full package names or full class names separated by a ''. Does not require a restart.

Default: java.iojava.langjava.mathjava.text

Enable Java Class Blacklist (rhino.java.class.shutter.blacklistEnabled)

Restrict java class instantiation. When unrestricted any Java class loaded in the current process can be instantiated from Javascript. To prohibit loading of specific packages and/or classes set this property to true. Does not require a restart.

Default: true

Blacklisted Java Classes and Packages (rhino.java.class.shutter.blacklist)

List of java packages and/or classes that cannot be instantiated from Javascript in one delimited string. The format is full package names or full class names separated by a ''. Does not require a restart.

Default: java.io.Filejava.io.FileInputStreamjava.io.FileOutputStream