public abstract class AbstractAccessControlManager extends Object implements org.apache.jackrabbit.api.security.JackrabbitAccessControlManager, AccessControlConstants
JackrabbitAccessControlManager interface.
This implementation covers both editing access control content by path and
by Principal resulting both in the same content structure.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_GLOB, REP_ITEM_NAMES, REP_NODE_PATH, REP_NT_NAMES, REP_POLICY, REP_PREFIXES, REP_PRINCIPAL_NAME, REP_PRIVILEGES, REP_REPO_POLICY, REP_RESTRICTIONS| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAccessControlManager(@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper,
@NotNull SecurityProvider securityProvider) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicablePolicies, getEffectivePolicies, getPoliciesgetApplicablePolicies, getEffectivePolicies, getPolicies, removePolicy, setPolicyprotected AbstractAccessControlManager(@NotNull
@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper,
@NotNull
@NotNull SecurityProvider securityProvider)
@NotNull public @NotNull Privilege[] getSupportedPrivileges(@Nullable @Nullable String absPath) throws RepositoryException
getSupportedPrivileges in interface AccessControlManagerRepositoryException@NotNull public @NotNull Privilege privilegeFromName(@NotNull @NotNull String privilegeName) throws RepositoryException
privilegeFromName in interface AccessControlManagerRepositoryExceptionpublic boolean hasPrivileges(@Nullable
@Nullable String absPath,
@Nullable
@Nullable Privilege[] privileges)
throws RepositoryException
hasPrivileges in interface AccessControlManagerRepositoryException@NotNull public @NotNull Privilege[] getPrivileges(@Nullable @Nullable String absPath) throws RepositoryException
getPrivileges in interface AccessControlManagerRepositoryExceptionpublic boolean hasPrivileges(@Nullable
@Nullable String absPath,
@NotNull
@NotNull Set<Principal> principals,
@Nullable
@Nullable Privilege[] privileges)
throws RepositoryException
hasPrivileges in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManagerRepositoryException@NotNull public @NotNull Privilege[] getPrivileges(@Nullable @Nullable String absPath, @NotNull @NotNull Set<Principal> principals) throws RepositoryException
getPrivileges in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManagerRepositoryException@NotNull protected @NotNull AuthorizationConfiguration getConfig()
@NotNull protected @NotNull org.apache.jackrabbit.oak.api.Root getRoot()
@NotNull protected @NotNull org.apache.jackrabbit.oak.api.Root getLatestRoot()
@NotNull protected @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper getNamePathMapper()
@NotNull protected @NotNull org.apache.jackrabbit.api.security.authorization.PrivilegeManager getPrivilegeManager()
@Nullable protected @Nullable String getOakPath(@Nullable @Nullable String jcrPath) throws RepositoryException
RepositoryException@NotNull protected @NotNull org.apache.jackrabbit.oak.api.Tree getTree(@Nullable @Nullable String oakPath, long permissions, boolean checkAcContent) throws RepositoryException
RepositoryException@NotNull protected @NotNull PermissionProvider getPermissionProvider()
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.