org.apache.batik.script.rhino
public class BatikSecurityController extends org.mozilla.javascript.SecurityController
| Constructor and Description |
|---|
BatikSecurityController() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
callWithDomain(java.lang.Object securityDomain,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Callable callable,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args)
Calls
Callable.call(Context, Scriptable, Scriptable, Object[]) of
callable under restricted security domain where an action is
allowed only if it is allowed according to the Java stack on the
moment of the callWithDomain call and
securityDomain. |
org.mozilla.javascript.GeneratedClassLoader |
createClassLoader(java.lang.ClassLoader parentLoader,
java.lang.Object securityDomain)
Default constructor
|
java.lang.Object |
getDynamicSecurityDomain(java.lang.Object securityDomain)
Get dynamic security domain that allows an action only if it is allowed
by the current Java stack and securityDomain.
|
public org.mozilla.javascript.GeneratedClassLoader createClassLoader(java.lang.ClassLoader parentLoader,
java.lang.Object securityDomain)
createClassLoader in class org.mozilla.javascript.SecurityControllerpublic java.lang.Object getDynamicSecurityDomain(java.lang.Object securityDomain)
getDynamicSecurityDomain in class org.mozilla.javascript.SecurityControllerpublic java.lang.Object callWithDomain(java.lang.Object securityDomain,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Callable callable,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args)
Callable.call(Context, Scriptable, Scriptable, Object[]) of
callable under restricted security domain where an action is
allowed only if it is allowed according to the Java stack on the
moment of the callWithDomain call and
securityDomain. Any call to
getDynamicSecurityDomain(Object) during execution of
Callable.call(Context, Scriptable, Scriptable, Object[])
should return a domain incorporate restrictions imposed by
securityDomain.callWithDomain in class org.mozilla.javascript.SecurityControllerCopyright ? 2008 Apache Software Foundation. All Rights Reserved.