Class MountPermissionProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.security.authorization.permission.PermissionProviderImpl
-
- org.apache.jackrabbit.oak.security.authorization.permission.MountPermissionProvider
-
- All Implemented Interfaces:
AccessControlConstants
,AggregatedPermissionProvider
,PermissionConstants
,PermissionProvider
public class MountPermissionProvider extends PermissionProviderImpl
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol.AccessControlConstants
AC_NODETYPE_NAMES, ACE_PROPERTY_NAMES, MIX_REP_ACCESS_CONTROLLABLE, MIX_REP_REPO_ACCESS_CONTROLLABLE, NT_REP_ACE, NT_REP_ACL, NT_REP_DENY_ACE, NT_REP_GRANT_ACE, NT_REP_POLICY, NT_REP_RESTRICTIONS, PARAM_RESTRICTION_PROVIDER, POLICY_NODE_NAMES, REP_CURRENT, REP_GLOB, REP_GLOBS, REP_ITEM_NAMES, REP_NODE_PATH, REP_NT_NAMES, REP_POLICY, REP_PREFIXES, REP_PRINCIPAL_NAME, REP_PRIVILEGES, REP_REPO_POLICY, REP_RESTRICTIONS, REP_SUBTREES
-
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 MountPermissionProvider(@NotNull Root root, @NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull RestrictionProvider restrictionProvider, @NotNull ConfigurationParameters options, @NotNull Context ctx, @NotNull ProviderCtx providerCtx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull String
getPermissionRootName(@NotNull Mount mount, @NotNull String workspace)
protected @NotNull org.apache.jackrabbit.oak.security.authorization.permission.PermissionStore
getPermissionStore(@NotNull Root root, @NotNull String workspaceName, @NotNull RestrictionProvider restrictionProvider)
-
Methods inherited from class org.apache.jackrabbit.oak.security.authorization.permission.PermissionProviderImpl
getPrivileges, getRepositoryPermission, getTreePermission, getTreePermission, hasPrivileges, isGranted, isGranted, isGranted, refresh, supportedPermissions, supportedPermissions, supportedPermissions, supportedPrivileges
-
-
-
-
Constructor Detail
-
MountPermissionProvider
public MountPermissionProvider(@NotNull @NotNull Root root, @NotNull @NotNull String workspaceName, @NotNull @NotNull Set<Principal> principals, @NotNull @NotNull RestrictionProvider restrictionProvider, @NotNull @NotNull ConfigurationParameters options, @NotNull @NotNull Context ctx, @NotNull @NotNull ProviderCtx providerCtx)
-
-
Method Detail
-
getPermissionRootName
@NotNull public static @NotNull String getPermissionRootName(@NotNull @NotNull Mount mount, @NotNull @NotNull String workspace)
-
getPermissionStore
@NotNull protected @NotNull org.apache.jackrabbit.oak.security.authorization.permission.PermissionStore getPermissionStore(@NotNull @NotNull Root root, @NotNull @NotNull String workspaceName, @NotNull @NotNull RestrictionProvider restrictionProvider)
- Overrides:
getPermissionStore
in classPermissionProviderImpl
-
-