public class SecurityUtilities
extends java.lang.Object
| Constructor and Description | 
|---|
| SecurityUtilities() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.security.ProtectionDomain | getProtectionDomain(java.lang.Class<?> clazz) | 
| static java.security.ProtectionDomain | getScriptProtectionDomain()Look up the top-most element in the current stack representing a
 script and return its protection domain. | 
| static java.lang.String | getSystemProperty(java.lang.String name)Retrieves a system property within a privileged block. | 
public static java.lang.String getSystemProperty(java.lang.String name)
name - the name of the system propertypublic static java.security.ProtectionDomain getProtectionDomain(java.lang.Class<?> clazz)
public static java.security.ProtectionDomain getScriptProtectionDomain()
RhinoSecurityManager,
 otherwise it returns null.