메소드 | 설명 | |
---|---|---|
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 |