public final class AcHandling extends Object implements ProgressCheckFactory
acHandling
mode to prevent unforeseen changes to ACLs upon installation.
Example config using AcHandling.ACHandlingLevelSet.ONLY_IGNORE
:
"config": { "levelSet": "only_ignore" }
Example config requiring AccessControlHandling.MERGE_PRESERVE
:
"config": { "allowedModes": ["merge_preserve"] }
config
options:
allowedModes
AccessControlHandling
modes.levelSet
no_unsafe
) One of no_clear
, no_unsafe
, only_add
, or only_ignore
,
matching the values in AcHandling.ACHandlingLevelSet
.Modifier and Type | Class and Description |
---|---|
static class |
AcHandling.ACHandlingLevelSet
Encapsulation of incrementally wider sets of forbidden acHandling modes as discrete levels.
|
static interface |
AcHandling.JsonKeys |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_ALLOWED_MODES
Deprecated.
|
static String |
CONFIG_LEVEL_SET
Deprecated.
|
Constructor and Description |
---|
AcHandling() |
Modifier and Type | Method and Description |
---|---|
static AcHandling.JsonKeys |
keys() |
ProgressCheck |
newInstance(javax.json.JsonObject config)
Returns a new check with the provided config.
|
@Deprecated public static final String CONFIG_ALLOWED_MODES
@Deprecated public static final String CONFIG_LEVEL_SET
public static AcHandling.JsonKeys keys()
public ProgressCheck newInstance(javax.json.JsonObject config)
ProgressCheckFactory
JsonObject
parameter type is used to enforce JSON-like
semantics and communicate an informal contract that nested structures should be simple maps, collections, and
Java primitives.newInstance
in interface ProgressCheckFactory
config
- an arbitrary config objectProgressCheck
, optionally taking the provided config into account.Copyright © 2017–2020. All rights reserved.