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