You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Marcin Cenkier <ma...@cognifide.com> on 2005/10/09 04:35:42 UTC
moving locks between sessions
Hi,
Is it possible to move locks between sessions? I tried removeLockToken
from one session and addLockToken to another session, but it doesn't
change the lock owner.
--
Best Regards, Senior developer at Cognifide
Marcin Cenkier www.cognifide.com
Re: moving locks between sessions
Posted by Dominique Pfister <do...@day.com>.
Hi Marcin,
the lock owner is the user that has placed the initial lock and this
value will never change. What changes when you transfer a lock from
one session to another is the lock holder. The lock holder is the
value that will be used when examining whether a session is allowed an
operation on a node or not.
Cheers
Dominique
On 10/9/05, Marcin Cenkier <ma...@cognifide.com> wrote:
> Hi,
> Is it possible to move locks between sessions? I tried removeLockToken
> from one session and addLockToken to another session, but it doesn't
> change the lock owner.
>
> --
> Best Regards, Senior developer at Cognifide
> Marcin Cenkier www.cognifide.com
>