]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/security/jackrabbit/ArgeoAccessManager.java
7464078d802a75c717a93dfe4bf9cf8823d86973
1 package org
.argeo
.security
.jackrabbit
;
3 import javax
.jcr
.PathNotFoundException
;
4 import javax
.jcr
.RepositoryException
;
5 import javax
.jcr
.security
.Privilege
;
7 import org
.apache
.jackrabbit
.core
.id
.ItemId
;
8 import org
.apache
.jackrabbit
.core
.security
.DefaultAccessManager
;
9 import org
.apache
.jackrabbit
.spi
.Path
;
12 * Intermediary class in order to have a consistent naming in config files. Does
13 * nothing for the time being, but may in the future.
15 public class ArgeoAccessManager
extends DefaultAccessManager
{
18 public boolean canRead(Path itemPath
, ItemId itemId
)
19 throws RepositoryException
{
20 return super.canRead(itemPath
, itemId
);
24 public Privilege
[] getPrivileges(String absPath
)
25 throws PathNotFoundException
, RepositoryException
{
26 return super.getPrivileges(absPath
);
30 public boolean hasPrivileges(String absPath
, Privilege
[] privileges
)
31 throws PathNotFoundException
, RepositoryException
{
32 return super.hasPrivileges(absPath
, privileges
);