Hi Rolf,

I didn't know this, but I suppose this does exactly what I 
meant. Normally you must use the same instance of 
WebdavResource. This new method just steals the lock of another 
instance.

Andreas

On 10 Apr 2004 at 15:15, Rolf Kulemann wrote:

> On Fri, 2004-04-09 at 23:12, Andreas Probst wrote:
> > Hi Rolf,
> > 
> > to act on a locked resource it is necessary to give the lock 
> > token in the request. If I remember correctly, the spec 
> > recommends a client to send the lock token only if this client 
> > issued the lock. This way no client can steal the lock of 
> > another client of the same user. If you want to act on the 
> > resource with another client, read the lock token and send it 
> > with the request. So it should be possible the steal the lock of 
> > the other session.
> 
> Thanks, but my problem was solved with rc1. There is now a new method on
> the WebdavResource called discoverOwnLocks() which makes live much
> easier.
> 
> Thanks for ur reply.
> 
> -- 
> Regards,
> 
>     Rolf Kulemann
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to