On Fri, Jan 28, 2011 at 11:58 AM, Vidar Ramdal <[email protected]> wrote:
> On Fri, Jan 28, 2011 at 11:08 AM, Markus Joschko
> <[email protected]> wrote:
>>> Maybe you could post the code of your EventListener, and of
>>> ObservationManager.addEventListener call?
>>
>> It's pretty similar to the event listener in the slingbucks examle. As
>> I constantly try different paths and workspaces there isn't the ONE
>> configuration. But registering looks like:
>>
>>    final String[] types = null;
>>    final boolean isDeep = true;
>>    final boolean noLocal = true;
>>    String path = "/system/userManager/";
>
> This will most certainly NOT work. The /system/userManager path does
> not refer to a JCR node, but only the userManager servlets in the
> Sling resource tree. So registering a JCR event listener for that path
> will have no effect.

That's the reason why I also tried paths I found in the code
("/rep:security/rep:authorizables/", "/rep:system/rep:userManager/").
However even listening to "/" does not reveal any  events when
registering the user. Setting acls and content modification trigger
events.

> I'm not sure how users are stored in Jackrabbit 2 (which you are
> probably running), but you should see if you can find the nodes
> describing user accounts, by using some JCR explorer.

BTW, which JCR explorer are you using? I rely on the .explorer but
that has it's limitations.

Regards,
 Markus

Reply via email to