public class MagnoliaAccessProvider
extends org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
observationMgr, PARAM_OMIT_DEFAULT_PERMISSIONS, privilegeManager, session
N_ACCESSCONTROL, N_POLICY, N_REPO_POLICY, NT_REP_ACCESS_CONTROL, NT_REP_ACCESS_CONTROLLABLE, NT_REP_ACE, NT_REP_ACL, NT_REP_DENY_ACE, NT_REP_GRANT_ACE, NT_REP_PRINCIPAL_ACCESS_CONTROL, NT_REP_REPO_ACCESS_CONTROLLABLE, P_GLOB, P_PRINCIPAL_NAME, P_PRIVILEGES
Constructor and Description |
---|
MagnoliaAccessProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAccessRoot(Set<Principal> principals) |
void |
close() |
org.apache.jackrabbit.core.security.authorization.CompiledPermissions |
compilePermissions(Set<Principal> principals) |
org.apache.jackrabbit.core.security.authorization.AccessControlEditor |
getEditor(javax.jcr.Session editingSession) |
javax.jcr.security.AccessControlPolicy[] |
getEffectivePolicies(org.apache.jackrabbit.spi.Path absPath,
org.apache.jackrabbit.core.security.authorization.CompiledPermissions permissions) |
javax.jcr.security.AccessControlPolicy[] |
getEffectivePolicies(Set<Principal> principals,
org.apache.jackrabbit.core.security.authorization.CompiledPermissions permissions) |
void |
init(javax.jcr.Session systemSession,
Map configuration) |
boolean |
isAcItem(org.apache.jackrabbit.core.ItemImpl item) |
boolean |
isAcItem(org.apache.jackrabbit.spi.Path absPath) |
public boolean canAccessRoot(Set<Principal> principals) throws javax.jcr.RepositoryException
canAccessRoot
in interface org.apache.jackrabbit.core.security.authorization.AccessControlProvider
canAccessRoot
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
javax.jcr.RepositoryException
public void close()
close
in interface org.apache.jackrabbit.core.security.authorization.AccessControlProvider
close
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
public org.apache.jackrabbit.core.security.authorization.CompiledPermissions compilePermissions(Set<Principal> principals) throws javax.jcr.RepositoryException
compilePermissions
in interface org.apache.jackrabbit.core.security.authorization.AccessControlProvider
compilePermissions
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
javax.jcr.RepositoryException
public org.apache.jackrabbit.core.security.authorization.AccessControlEditor getEditor(javax.jcr.Session editingSession)
getEditor
in interface org.apache.jackrabbit.core.security.authorization.AccessControlProvider
getEditor
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
public javax.jcr.security.AccessControlPolicy[] getEffectivePolicies(org.apache.jackrabbit.spi.Path absPath, org.apache.jackrabbit.core.security.authorization.CompiledPermissions permissions) throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
getEffectivePolicies
in interface org.apache.jackrabbit.core.security.authorization.AccessControlProvider
getEffectivePolicies
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
public javax.jcr.security.AccessControlPolicy[] getEffectivePolicies(Set<Principal> principals, org.apache.jackrabbit.core.security.authorization.CompiledPermissions permissions) throws javax.jcr.RepositoryException
getEffectivePolicies
in interface org.apache.jackrabbit.core.security.authorization.AccessControlProvider
getEffectivePolicies
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
javax.jcr.RepositoryException
public void init(javax.jcr.Session systemSession, Map configuration) throws javax.jcr.RepositoryException
init
in interface org.apache.jackrabbit.core.security.authorization.AccessControlProvider
init
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
javax.jcr.RepositoryException
public boolean isAcItem(org.apache.jackrabbit.core.ItemImpl item) throws javax.jcr.RepositoryException
isAcItem
in interface org.apache.jackrabbit.core.security.authorization.AccessControlUtils
isAcItem
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
javax.jcr.RepositoryException
public boolean isAcItem(org.apache.jackrabbit.spi.Path absPath) throws javax.jcr.RepositoryException
isAcItem
in interface org.apache.jackrabbit.core.security.authorization.AccessControlUtils
isAcItem
in class org.apache.jackrabbit.core.security.authorization.combined.CombinedProvider
javax.jcr.RepositoryException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.