jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: How to add lock tokens
Date Thu, 30 Aug 2007 15:31:20 GMT
On 8/30/07, shepy <vladoseprak@yahoo.com> wrote:
> 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?

i am afraid, not really. you'll have to write jackrabbit-specific
code. however, instead
of extending RepositryImpl you could register a SessionListener
(SessionImpl.addListener()) and retrieve/persist the lock tokens on
session logout.


> Thanks for answer.
> --
> View this message in context: http://www.nabble.com/How-to-add-lock-tokens-tf4353897.html#a12405970
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message