Yes, it seemed to be working for me.  I was using that method in the patch I
submitted for SLING-879


On Tue, Mar 17, 2009 at 7:33 AM, Marc Speck <[email protected]> wrote:

> I've just tested the patch and got the following error message:
>
> ... javax.jcr.RepositoryException: addEntry:
>
> org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry():
>
> org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry()
>    at
>
> org.apache.sling.jcr.base.util.AccessControlUtil.safeInvokeRepoMethod(AccessControlUtil.java:233)
>    at
>
> org.apache.sling.jcr.base.util.AccessControlUtil.addEntry(AccessControlUtil.java:184)
> ...
> Caused by: java.lang.NoSuchMethodException:
>
> org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry()
>    at java.lang.Class.getMethod(Unknown Source)
>    at
>
> org.apache.sling.jcr.base.util.AccessControlUtil.safeInvokeRepoMethod(AccessControlUtil.java:211)
>    ... 32 more
> java.lang.NoSuchMethodException:
>
> org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry()
>    at java.lang.Class.getMethod(Unknown Source)
>    at
>
> org.apache.sling.jcr.base.util.AccessControlUtil.safeInvokeRepoMethod(AccessControlUtil.java:211)
>    at
>
> org.apache.sling.jcr.base.util.AccessControlUtil.addEntry(AccessControlUtil.java:184)
> ...
>
>
> Has anybody successfully used AccessControlUtil.addEntry()? I used the code
> posted in my initial mail (there are also some more question ;)
> Thanks,
> Marc
>
>
>
>
> On Mon, Feb 23, 2009 at 7:48 PM, Juan José Vázquez Delgado <
> [email protected]> wrote:
>
> > > Thanks for the quick fix, Juanjo. Once I update to the new Sling
> > structure,
> > > I'll test it.
> > > Marc
> >
> > You´re welcome. Please report any issues about it.
> >
> > Regards,
> >
> > Juanjo.
> >
>

Reply via email to