public class PermissionValidatorProvider extends ValidatorProvider
ValidatorProvider
implementation for permission evaluation associated
with write operations.Constructor and Description |
---|
PermissionValidatorProvider(@NotNull java.lang.String workspaceName,
@NotNull java.util.Set<java.security.Principal> principals,
@NotNull MoveTracker moveTracker,
@NotNull ProviderCtx providerCtx) |
Modifier and Type | Method and Description |
---|---|
@NotNull Validator |
getRootValidator(NodeState before,
NodeState after,
CommitInfo info)
Returns a validator for checking the changes between the given
two root states.
|
getRootEditor
public PermissionValidatorProvider(@NotNull @NotNull java.lang.String workspaceName, @NotNull @NotNull java.util.Set<java.security.Principal> principals, @NotNull @NotNull MoveTracker moveTracker, @NotNull @NotNull ProviderCtx providerCtx)
@NotNull public @NotNull Validator getRootValidator(NodeState before, NodeState after, CommitInfo info)
ValidatorProvider
getRootValidator
in class ValidatorProvider
before
- original root stateafter
- modified root stateinfo
- metadata about this commitnull
if this validator is not needed for this commitCopyright © 2012–2022 The Apache Software Foundation. All rights reserved.