Hi, On Mon, Mar 1, 2010 at 8:19 PM, Paco Avila <[email protected]> wrote: > myNode.getPath() returns an string, and I need a Path. I need to make a call > to > > boolean isGranted(Path absPath, int permissions) > > from AccessManager and this requires a Path.
Can you not use the AccessControlManager.hasPrivileges() method [1] for this? [1] http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/security/AccessControlManager.html#hasPrivileges(java.lang.String, javax.jcr.security.Privilege[]) BR, Jukka Zitting
