public class RootOnlyPermissions extends DefaultACLBasedPermissions
org.apache.jackrabbit.core.security.authorization.principalbased.ACLProvider.CompiledPermissionImpl
. See MagnoliaAccessProvider#canAccessRoot()
for details.ami, pathResolver, permissionMapping, session
Constructor and Description |
---|
RootOnlyPermissions(org.apache.jackrabbit.core.SessionImpl systemSession) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead(org.apache.jackrabbit.spi.Path itemPath,
org.apache.jackrabbit.core.id.ItemId itemId) |
boolean |
grants(org.apache.jackrabbit.spi.Path absPath,
int permissions) |
buildRepositoryResult, buildResult, convertJackrabbitPermissionsToMagnoliaPermissions, getPrivilegeManagerImpl, getPrivileges, getResult
public RootOnlyPermissions(org.apache.jackrabbit.core.SessionImpl systemSession)
public boolean canRead(org.apache.jackrabbit.spi.Path itemPath, org.apache.jackrabbit.core.id.ItemId itemId) throws javax.jcr.RepositoryException
canRead
in interface org.apache.jackrabbit.core.security.authorization.CompiledPermissions
canRead
in class DefaultACLBasedPermissions
javax.jcr.RepositoryException
public boolean grants(org.apache.jackrabbit.spi.Path absPath, int permissions) throws javax.jcr.RepositoryException
grants
in interface org.apache.jackrabbit.core.security.authorization.CompiledPermissions
grants
in class DefaultACLBasedPermissions
javax.jcr.RepositoryException
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.