Метод | Описание | |
---|---|---|
CallWithDomain ( object securityDomain, |
Call The method should always be overridden, it is not declared abstract for compatibility reasons.
|
|
CreateClassLoader ( ClassLoader parentLoader, object securityDomain ) : GeneratedClassLoader |
Get class loader-like object that can be used to define classes with the given security context. Get class loader-like object that can be used to define classes with the given security context. |
|
CreateLoader ( ClassLoader parent, object staticDomain ) : GeneratedClassLoader |
Create
|
|
GetDynamicSecurityDomain ( object securityDomain ) : object |
Get dynamic security domain that allows an action only if it is allowed by the current Java stack and securityDomain. Get dynamic security domain that allows an action only if it is allowed by the current Java stack and securityDomain. If securityDomain is null, return domain representing permissions allowed by the current stack. |
|
GetStaticSecurityDomainClass ( ) : |
||
GetStaticSecurityDomainClassInternal ( ) : |
||
HasGlobal ( ) : bool |
Check if global
|
|
InitGlobal ( |
Initialize global controller that will be used for all security-related operations. Initialize global controller that will be used for all security-related operations. The global controller takes precedence over already installed The method can only be called once. |
Метод | Описание | |
---|---|---|
ExecWithDomain ( |
||
Global ( ) : |
public CallWithDomain ( object securityDomain, |
||
securityDomain | object | |
cx | ||
callable | Callable | |
scope | Scriptable | |
thisObj | Scriptable | |
args | object | |
Результат | object |
public abstract CreateClassLoader ( ClassLoader parentLoader, object securityDomain ) : GeneratedClassLoader | ||
parentLoader | ClassLoader | /// parent class loader to delegate search for classes /// not defined by the class loader itself /// |
securityDomain | object | /// some object specifying the security /// context of the code that is defined by the returned class loader. /// |
Результат | GeneratedClassLoader |
public static CreateLoader ( ClassLoader parent, object staticDomain ) : GeneratedClassLoader | ||
parent | ClassLoader |
/// parent class loader. If null,
/// |
staticDomain | object | static security domain. |
Результат | GeneratedClassLoader |
public abstract GetDynamicSecurityDomain ( object securityDomain ) : object | ||
securityDomain | object | |
Результат | object |
public static GetStaticSecurityDomainClass ( ) : |
||
Результат |
public GetStaticSecurityDomainClassInternal ( ) : |
||
Результат |
public static InitGlobal ( |
||
controller | ||
Результат | void |