public interface UrlConnectionSecurityDomainProvider
UrlModuleSourceProvider
to create Rhino security domain objects for
newly loaded scripts (see Context.compileReader(java.io.Reader,
String, int, Object)
) based on the properties obtainable through their URL
connection.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getSecurityDomain(java.net.URLConnection urlConnection)
Create a new security domain object for a script source identified by
its URL connection.
|
java.lang.Object getSecurityDomain(java.net.URLConnection urlConnection)
urlConnection
- the URL connection of the script source