public class RhinoSecurityController
extends org.mozilla.javascript.SecurityController
| Constructor and Description |
|---|
RhinoSecurityController() |
| Modifier and Type | Method and Description |
|---|---|
Object |
callWithDomain(Object securityDomain,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Callable callable,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
Object[] args) |
org.mozilla.javascript.GeneratedClassLoader |
createClassLoader(ClassLoader parentLoader,
Object protectionDomain) |
ProtectionDomain |
getDynamicSecurityDomain(Object staticDomain) |
Class |
getStaticSecurityDomainClassInternal() |
static boolean |
isSecurityEnabled() |
protected void |
updatePermissions(PermissionCollection permissions,
RhinoSecurityDomain securityDomain) |
public static boolean isSecurityEnabled()
public Class getStaticSecurityDomainClassInternal()
getStaticSecurityDomainClassInternal in class org.mozilla.javascript.SecurityControllerpublic org.mozilla.javascript.GeneratedClassLoader createClassLoader(ClassLoader parentLoader, Object protectionDomain)
createClassLoader in class org.mozilla.javascript.SecurityControllerpublic ProtectionDomain getDynamicSecurityDomain(Object staticDomain)
getDynamicSecurityDomain in class org.mozilla.javascript.SecurityControllerprotected void updatePermissions(PermissionCollection permissions, RhinoSecurityDomain securityDomain)
public Object callWithDomain(Object securityDomain, org.mozilla.javascript.Context cx, org.mozilla.javascript.Callable callable, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, Object[] args)
callWithDomain in class org.mozilla.javascript.SecurityControllerCopyright © 2015 WSO2 Inc. All rights reserved.