| Modifier and Type | Method and Description |
|---|---|
static Whitelist |
Whitelist.all()
Checks for all whitelists registered as
Extensions and aggregates them. |
| Modifier and Type | Method and Description |
|---|---|
static void |
GroovySandbox.runInSandbox(Runnable r,
Whitelist whitelist)
Runs a block such as
GroovyShell.evaluate(String) in the sandbox. |
static void |
GroovySandbox.runInSandbox(groovy.lang.Script script,
Whitelist whitelist)
Runs a script in the sandbox.
|
| Modifier and Type | Class and Description |
|---|---|
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 |
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 |
|---|---|
static Whitelist |
StaticWhitelist.from(URL definition) |
| 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 © 2004-2014. All Rights Reserved.