org.apache.batik.script.rhino
public class BatikSecurityController extends SecurityController
Method Summary | |
---|---|
Object | callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, 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 . |
GeneratedClassLoader | createClassLoader(ClassLoader parentLoader, Object securityDomain)
Default constructor |
Object | getDynamicSecurityDomain(Object securityDomain)
Get dynamic security domain that allows an action only if it is allowed
by the current Java stack and securityDomain. |
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 during execution of
Callable#call(Context, Scriptable, Scriptable, Object[])
should return a domain incorporate restrictions imposed by
securityDomain
.