El jue, 30-08-2007 a las 05:16 -0700, shepy escribió:
> Hi,
> 
>    I'm using open scoped locks. User should lock the node, log-out and then
> log-in and be able to unlock the node (if the lock was placed by him in the
> first place). Till now i came up with one solution: Store users lock tokens
> in filesystem and add the tokens upon creating new session. I don't like it
> because i need to extend RepositoryImpl. Is there some other, more elegant
> solution? 
> 

Perhaps I missunderstood your problem, but you can add lock tokens to a
user session easyly:

session.addLockToken(lockToken);


-- 
Paco Avila <[EMAIL PROTECTED]>

Reply via email to