W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2003

Finding out who locked a resource

From: Lisa Dusseault <lisa@xythos.com>
Date: Sat, 8 Feb 2003 11:42:15 -0800
To: "Webdav WG" <w3c-dist-auth@w3c.org>
Message-ID: <03f001c2cfaa$2f2b44f0$f8cb90c6@xythoslap>


One of the things that 2518 didn't try to do, because it had to finish
in finite time, was to specify exactly how a lock owner is shown. One of
the problems was there was no way to identify users.

Now that Access control exists, there is a way to identify users, and
the problem can be solved much more nicely.  I suggest we add an element
"principal-URL" to the lock properties. The element is defined in the
Access control specification, but it would appear inside the "lockinfo"
element as part of the "lockdiscovery" property.  This wouldn't
interfere with the "owner" element, which already is used by some
clients.

My approach would be to add this to access control, since that will
probably get this useful element standardized sooner.  "A server MUST
include the principal-URL element inside the lockinfo element of a
lockdiscovery property value, if the LOCK request that created the lock
successfully authenticated as a known principal."

Lisa
Received on Saturday, 8 February 2003 14:42:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:02 GMT