org.mozilla.javascript
Class SecurityUtilities
java.lang.Object
org.mozilla.javascript.SecurityUtilities
public class SecurityUtilities
extends java.lang.Object
getProtectionDomain
public static ProtectionDomain getProtectionDomain(Class clazz)
getSystemProperty
public static String getSystemProperty(String name)
Retrieves a system property within a privileged block. Use it only when
the property is used from within Rhino code and is not passed out of it.
name
- the name of the system property
- the value of the system property