public final class GroovySandboxValueFilter
extends org.kohsuke.groovy.sandbox.GroovyValueFilter
ClassShutter for
the actual allow/deny decision for consistency with Rhino Javascript.| Constructor and Description |
|---|
GroovySandboxValueFilter(org.mozilla.javascript.ClassShutter classShutter) |
| Modifier and Type | Method and Description |
|---|---|
Object |
filter(Object target)
Filters all objects according to the configured ClassShutter.
|
Object |
onGetProperty(org.kohsuke.groovy.sandbox.GroovyInterceptor.Invoker invoker,
Object receiver,
String property) |
Object |
onMethodCall(org.kohsuke.groovy.sandbox.GroovyInterceptor.Invoker invoker,
Object receiver,
String method,
Object... args) |
Object |
onSetProperty(org.kohsuke.groovy.sandbox.GroovyInterceptor.Invoker invoker,
Object receiver,
String property,
Object value) |
filterArgument, filterIndex, filterReceiver, filterReturnValue, onGetArray, onGetAttribute, onNewInstance, onSetArray, onSetAttribute, onStaticCallpublic GroovySandboxValueFilter(org.mozilla.javascript.ClassShutter classShutter)
public Object filter(Object target)
filter in class org.kohsuke.groovy.sandbox.GroovyValueFiltertarget - the object or class that is the target of a scripted operation (method call, constructor,
static method call, property/field access).SecurityException - if access if forbidden by the sandbox.public Object onGetProperty(org.kohsuke.groovy.sandbox.GroovyInterceptor.Invoker invoker, Object receiver, String property) throws Throwable
onGetProperty in class org.kohsuke.groovy.sandbox.GroovyValueFilterThrowablepublic Object onSetProperty(org.kohsuke.groovy.sandbox.GroovyInterceptor.Invoker invoker, Object receiver, String property, Object value) throws Throwable
onSetProperty in class org.kohsuke.groovy.sandbox.GroovyValueFilterThrowableCopyright © 2010–2024 Open Identity Platform Community. All rights reserved.