Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.mozilla.javascript.SecurityController
org.mozilla.javascript.PolicySecurityController
public class PolicySecurityController
extends SecurityController
Policy
in effect. When you use
this security controller, your securityDomain objects must be instances of
CodeSource
representing the location from where you load your
scripts. Any Java policy "grant" statements matching the URL and certificate
in code sources will apply to the scripts. If you specify any certificates
within your CodeSource
objects, it is your responsibility to verify
(or not) that the script source files are signed in whatever
implementation-specific way you're using.
Nested Class Summary | |
static class |
Method Summary | |
Object |
|
GeneratedClassLoader |
|
Object |
|
Class |
Methods inherited from class org.mozilla.javascript.SecurityController | |
callWithDomain , createClassLoader , createLoader , execWithDomain , getDynamicSecurityDomain , getStaticSecurityDomainClass , getStaticSecurityDomainClassInternal , hasGlobal , initGlobal |
public Object callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)
- Overrides:
- callWithDomain in interface SecurityController
public GeneratedClassLoader createClassLoader(ClassLoader parent, Object securityDomain)
- Overrides:
- createClassLoader in interface SecurityController
public Object getDynamicSecurityDomain(Object securityDomain)
- Overrides:
- getDynamicSecurityDomain in interface SecurityController
public Class getStaticSecurityDomainClassInternal()
- Overrides:
- getStaticSecurityDomainClassInternal in interface SecurityController