org.mozilla.javascript
Class PolicySecurityController
public class PolicySecurityController
A security controller relying on Java 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.
Class> getStaticSecurityDomainClassInternal
public @Override Class> getStaticSecurityDomainClassInternal()
GeneratedClassLoader createClassLoader
public @Override GeneratedClassLoader createClassLoader(ClassLoader parent,
Object securityDomain)
Object getDynamicSecurityDomain
public @Override Object getDynamicSecurityDomain(Object securityDomain)