On 8/30/07, shepy <[EMAIL PROTECTED]> 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. cheers stefan > > 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. > >
