W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2004

REBIND and lock token submission example

From: Jim Whitehead <ejw@cs.ucsc.edu>
Date: Thu, 9 Dec 2004 16:12:30 -0800
Message-Id: <200412100012.iBA0CcEW016229@cats-mx1.ucsc.edu>
To: "'WebDAV \(WebDAV WG\)'" <w3c-dist-auth@w3.org>

OK, here is a suggested examples for REBIND and lock token submission:

Before:

+------------------+
| Root Collection  |
|  bindings:       |
|  CollW           |
+------------------+
     |
     |
     |
+-------------------------------+
| Collection C1                 |<--------+
| LOCKED infinity               |         |
| (lock token L1)               |         |
| bindings:                     |         |
| CollX               CollY     |         |
+-------------------------------+         |
     |                  |                 |
     |                  |  (creates loop) |
     |                  |                 |
+-----------------+  +------------------+ |
| Collection C2   |  | Collection C3    | |
| (inherit lock)  |  | (inherit lock)   | | 
| (lock token L1) |  | (lock token L1)  | |
| bindings:       |  | bindings:        | |
|  {none}         |  | y.gif     CollZ  | |
+-----------------+  +------------------+ |
                       |            |     |
                       |            +-----+
                       |
                   +---------------------------+
                   | Resource R2               |
                   | (lock inhereited from C1) |
                   | (lock token L1)           |
                   +---------------------------+

After:

+------------------+
| Root Collection  |
|  bindings:       |
|  CollW           |
+------------------+
     |
     |
     |
+-------------------------------+
| Collection C1                 |
| LOCKED infinity               |
| (lock token L1)               |
| bindings:                     |         
| CollX                  CollY  |         
+-------------------------------+         
     |              ^      |             
     |              |      |              
+-----------------+ | +------------------+ 
| Collection C2   | | | Collection C3    | 
|(inherited lock) | | | (inherited lock) |
|(lock token L1)  | | | (lock token L1)  |
| bindings:       | | | bindings:        |
| CollA           | | | y.gif            |
+-----------------+ | +------------------+
    |               |    |           
    +---------------+    |          
     (creates loop)      |
                   +---------------------------+
                   | Resource R2               |
                   | (inherited lock from C1)  |
                   | (lock token L1)           |
                   +---------------------------+


Should only involve passing lock token L1 in the If header of the REBIND.

- Jmi
Received on Friday, 10 December 2004 00:13:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:17:51 UTC