| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.spi.security.authorization.permission |
| Modifier and Type | Field and Description |
|---|---|
static TreePermission |
TreePermission.ALL
TreePermission which always returns true and thus grants
all permissions. |
static TreePermission |
TreePermission.EMPTY
TreePermission which always returns false not granting
any permissions. |
static TreePermission |
TreePermission.NO_RECOURSE |
| Modifier and Type | Method and Description |
|---|---|
@NotNull TreePermission |
TreePermission.getChildPermission(@NotNull String childName,
@NotNull org.apache.jackrabbit.oak.spi.state.NodeState childState)
Retrieve the
TreePermission for the tree identified by the specified
childName and childState, which is a child of the tree
associated with this instanceof TreePermission. |
@NotNull TreePermission |
PermissionProvider.getTreePermission(@NotNull org.apache.jackrabbit.oak.api.Tree tree,
@NotNull TreePermission parentPermission)
Return the
TreePermission for the set of Principals associated
with this provider at the specified tree. |
@NotNull TreePermission |
EmptyPermissionProvider.getTreePermission(@NotNull org.apache.jackrabbit.oak.api.Tree tree,
@NotNull TreePermission parentPermission) |
@NotNull TreePermission |
OpenPermissionProvider.getTreePermission(@NotNull org.apache.jackrabbit.oak.api.Tree tree,
@NotNull TreePermission parentPermission) |
@NotNull TreePermission |
AggregatedPermissionProvider.getTreePermission(@NotNull org.apache.jackrabbit.oak.api.Tree tree,
@NotNull TreeType type,
@NotNull TreePermission parentPermission)
Return the
TreePermission for the set of Principals associated
with this provider at the specified tree with the given type. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull TreePermission |
PermissionProvider.getTreePermission(@NotNull org.apache.jackrabbit.oak.api.Tree tree,
@NotNull TreePermission parentPermission)
Return the
TreePermission for the set of Principals associated
with this provider at the specified tree. |
@NotNull TreePermission |
EmptyPermissionProvider.getTreePermission(@NotNull org.apache.jackrabbit.oak.api.Tree tree,
@NotNull TreePermission parentPermission) |
@NotNull TreePermission |
OpenPermissionProvider.getTreePermission(@NotNull org.apache.jackrabbit.oak.api.Tree tree,
@NotNull TreePermission parentPermission) |
@NotNull TreePermission |
AggregatedPermissionProvider.getTreePermission(@NotNull org.apache.jackrabbit.oak.api.Tree tree,
@NotNull TreeType type,
@NotNull TreePermission parentPermission)
Return the
TreePermission for the set of Principals associated
with this provider at the specified tree with the given type. |
long |
AggregatedPermissionProvider.supportedPermissions(@NotNull TreePermission treePermission,
@Nullable org.apache.jackrabbit.oak.api.PropertyState property,
long permissions)
Allows to determined the set or subset of permissions evaluated by the
implementing permission provider for the specified tree permission (plus
optionally
property). |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.