Modifier and Type | Method and Description |
---|---|
static Whitelist |
Whitelist.all()
Checks for all whitelists registered as
Extension s and aggregates them. |
Modifier and Type | Class and Description |
---|---|
class |
ClassLoaderWhitelist
Whitelist that allows everything defined from a specific classloader. |
Modifier and Type | Method and Description |
---|---|
static Object |
GroovySandbox.run(groovy.lang.GroovyShell shell,
String script,
Whitelist whitelist)
|
static Object |
GroovySandbox.run(groovy.lang.Script script,
Whitelist whitelist)
Deprecated.
|
static <V> V |
GroovySandbox.runInSandbox(Callable<V> c,
Whitelist whitelist)
Deprecated.
|
static void |
GroovySandbox.runInSandbox(Runnable r,
Whitelist whitelist)
Deprecated.
|
GroovySandbox |
GroovySandbox.withWhitelist(Whitelist whitelist)
Specify a whitelist.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractWhitelist
Convenience whitelist base class that denies everything by default.
|
class |
AclAwareWhitelist
Delegating whitelist which allows certain calls to be made only when a non-
ACL.SYSTEM user is making them. |
class |
AnnotatedWhitelist
Whitelists anything marked with
Whitelisted . |
class |
BlanketWhitelist
Whitelists everything.
|
class |
EnumeratingWhitelist
A whitelist based on listing signatures and searching them.
|
class |
GenericWhitelist
Includes entries useful for general kinds of scripts.
|
class |
JenkinsWhitelist
Includes entries useful for scripts accessing the Jenkins API, such as model objects.
|
class |
ProxyWhitelist
Aggregates several whitelists.
|
class |
StaticWhitelist
Whitelist based on a static file.
|
Modifier and Type | Method and Description |
---|---|
void |
ProxyWhitelist.reset(Collection<? extends Whitelist> delegates) |
Constructor and Description |
---|
AclAwareWhitelist(Whitelist unrestricted,
Whitelist restricted)
Creates a delegating whitelist.
|
ProxyWhitelist(Whitelist... delegates) |
Constructor and Description |
---|
ProxyWhitelist(Collection<? extends Whitelist> delegates) |
Modifier and Type | Class and Description |
---|---|
static class |
ScriptApproval.ApprovedWhitelist |
Copyright © 2016–2022. All rights reserved.