Hi,

I'm working on submitting a patch to JCR-2859 - Make open scoped locks
recoverable. The solution I'm working on is as follows,


1. Store lock tokens when a node is locked using LockManager.
2. Add the locked tokens from the stored location to the session when
session is created if principal is AdminPrincipal.
3. Remove the lock token from the store when the node is unlocked using
admin session.

I would like to know the following,

1. Will there be any consequences in above solution ?.
2. What is the best place to store the lock tokens ? . (Right now I'm
thinking of saving as  properties in a node /locktokens)
3. Any improvements, suggestions ?.


Best Regards,
Janandith

Reply via email to