|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.javascript.SecurityUtilities
public class SecurityUtilities
| Constructor Summary | |
|---|---|
SecurityUtilities()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityUtilities()
| Method Detail |
|---|
public static java.lang.String getSystemProperty(java.lang.String name)
name - the name of the system property
public static java.security.ProtectionDomain getProtectionDomain(java.lang.Class<?> clazz)
public static java.security.ProtectionDomain getScriptProtectionDomain()
RhinoSecurityManager,
otherwise it returns null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||