public class BatikSecurityController
extends SecurityController
SecurityController
interface is
meant for use within the context of Batik only. It is a partial
implementation of the interface that does what is needed by Batik and
no more.Constructor and Description |
---|
BatikSecurityController() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
callWithDomain(java.lang.Object securityDomain,
Context cx,
Callable callable,
Scriptable scope,
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 . |
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 GeneratedClassLoader createClassLoader(java.lang.ClassLoader parentLoader, java.lang.Object securityDomain)
public java.lang.Object getDynamicSecurityDomain(java.lang.Object securityDomain)
public java.lang.Object callWithDomain(java.lang.Object securityDomain, Context cx, Callable callable, Scriptable scope, 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
.Copyright ? 2015 Apache Software Foundation. All Rights Reserved.