Rhino.SecurityController.CallWithDomain C# (CSharp) Method

CallWithDomain() public method

Call Callable.Call(Context, Scriptable, Scriptable, object[]) of callable under restricted security domain where an action is allowed only if it is allowed according to the Java stack on the moment of the execWithDomain call and securityDomain. Any call to GetDynamicSecurityDomain(object) during execution of callable.call(cx, scope, thisObj, args) should return a domain incorporate restrictions imposed by securityDomain and Java stack on the moment of callWithDomain invocation.

The method should always be overridden, it is not declared abstract for compatibility reasons.

public CallWithDomain ( object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, object args ) : object
securityDomain object
cx Context
callable Callable
scope Scriptable
thisObj Scriptable
args object
return object
		public virtual object CallWithDomain(object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, object[] args)
		{
			return ExecWithDomain(cx, scope, new _Script_157(callable, thisObj, args), securityDomain);
		}