Class PermissionStoreValidatorProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.commit.ValidatorProvider
-
- org.apache.jackrabbit.oak.security.authorization.permission.PermissionStoreValidatorProvider
-
- All Implemented Interfaces:
EditorProvider
,PermissionConstants
public class PermissionStoreValidatorProvider extends ValidatorProvider implements PermissionConstants
Validator implementation that asserts that the permission store is read-only.
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authorization.permission.PermissionConstants
DEFAULT_READ_PATHS, NT_REP_PERMISSION_STORE, NT_REP_PERMISSIONS, PARAM_ADMINISTRATIVE_PRINCIPALS, PARAM_PERMISSIONS_JR2, PARAM_READ_PATHS, PERMISSION_NODE_NAMES, PERMISSION_NODETYPE_NAMES, PERMISSION_PROPERTY_NAMES, PERMISSIONS_STORE_PATH, REP_ACCESS_CONTROLLED_PATH, REP_IS_ALLOW, REP_NUM_PERMISSIONS, REP_PERMISSION_STORE, REP_PRIVILEGE_BITS, VALUE_PERMISSIONS_JR2
-
-
Constructor Summary
Constructors Constructor Description PermissionStoreValidatorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Validator
getRootValidator(NodeState before, NodeState after, CommitInfo info)
Returns a validator for checking the changes between the given two root states.-
Methods inherited from class org.apache.jackrabbit.oak.spi.commit.ValidatorProvider
getRootEditor
-
-
-
-
Method Detail
-
getRootValidator
@NotNull public @NotNull Validator getRootValidator(NodeState before, NodeState after, CommitInfo info)
Description copied from class:ValidatorProvider
Returns a validator for checking the changes between the given two root states.- Specified by:
getRootValidator
in classValidatorProvider
- Parameters:
before
- original root stateafter
- modified root stateinfo
- metadata about this commit- Returns:
- validator for checking the modifications,
or
null
if this validator is not needed for this commit
-
-