You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2002/07/11 11:46:47 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/multi-user/IdenticalResources/Deny writeACL_Identical_Resource_Large_Tree.xml readACL_Identical_Resource_Large_Tree.xml
juergen 2002/07/11 02:46:47
Added: testsuite/testsuite/junit/xmltestcases/ACL/multi-user/IdenticalResources/Deny
writeACL_Identical_Resource_Large_Tree.xml
readACL_Identical_Resource_Large_Tree.xml
Log:
Testcase to check ACL commands in a Multi User environment.
Revision Changes Path
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/multi-user/IdenticalResources/Deny/writeACL_Identical_Resource_Large_Tree.xml
Index: writeACL_Identical_Resource_Large_Tree.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> n users attempt to peform an ACL command to deny write-acl access to a single file
in a large tree structure. </abstract>
<description>
1) MKCol to create a test collection for all resource to be created in. This makes for an easy cleanup.
2) MKCol to create a first level collection.
3) MKCol to create a second level collection.
4) MKCol to create a third level collection.
5) Put a resource to the third level.
6) ACL command to grant write-acl privileges to user %user%.
7) ACL command by user %user% to check that write-acl privileges have been granted.
8) Begin n threads.
9) ACL command which denies write-acl access to the user %user%
10) ACL command by user %user% to check that write-acl privileges have been denied.
11) return all access back to default.
13) Delete created resource.
</description>
<expectedResult> Some users ACL commands should return 200 OK, others will receive a 409 Conflict error. </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1 HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2 HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3 HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<user varUsage="user">2%user%</user>
<password varUsage="user">2%user%</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="host,user"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>/administration/security/users/%host%/%user%</D:href>
</D:principal>
<D:grant>
<D:privilege><D:write-acl/></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]>
</body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="host,user"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>/administration/security/users/%host%/2%user%</D:href>
</D:principal>
<D:grant>
<D:privilege><D:write/></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]>
</body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<repeater varUsage="globalVariableUsers" varDefinition="userNumber" repeatCount="%globalVariableUsers%">
<thread>
<repeater varUsage="globalVariableIterationCount" repeatCount="%globalVariableIterationCount%">
<step>
<user varUsage="user">2%user%</user>
<password varUsage="user">2%user%</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="host,user"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>/administration/security/users/%host%/%user%</D:href>
</D:principal>
<D:deny>
<D:privilege><D:write-acl/></D:privilege>
</D:deny>
</D:ace>
</D:acl>]]>
</body>
</request>
<response>
<command>HTTP/1.0 (200,409) OK</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="host,user"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>/administration/security/users/%host%/2%user%</D:href>
</D:principal>
<D:grant>
<D:privilege><D:write/></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]>
</body>
</request>
<response>
<command>HTTP/1.0 403 Forbidden</command>
</response>
</step>
</repeater>
</thread>
</repeater>
<cleanup>
<step>
<user varUsage="user">2%user%</user>
<password varUsage="user">2%user%</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:all></D:all>
</D:principal>
<D:grant>
<D:privilege><D:all /></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]>
</body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml HTTP/1.1</command>
<header>Content-Type: text/xml</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>Pragma: no-cache</header>
<header>Connection: close</header>
<body><?xml version="1.0" ?>
<D:propertyupdate xmlns:D="DAV:">
<D:set>
<D:prop>
<D:authors>test</D:authors>
</D:prop>
</D:set>
</D:propertyupdate></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<header>Date: Tue, 13 Feb 2001 12:45:26 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
<body varUsage="globalVariableCollection,globalVariableServerName"><?xml version="1.0" encoding="utf-8" ?>
<d:multistatus xmlns:d="DAV" xmlns:Z="DAVxxxx:" >
<d:response>
<d:href>/%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml</d:href>
<d:propstat>
<d:prop>
<d:authors/>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
</d:multistatus></body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Wed, 14 Mar 2001 14:47:37 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</cleanup>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/multi-user/IdenticalResources/Deny/readACL_Identical_Resource_Large_Tree.xml
Index: readACL_Identical_Resource_Large_Tree.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> n users try to deny read-acl access to the same resource in a large tree structure. </abstract>
<description>
1) MKCol to create a test collection for all resource to be created in. This makes for an easy cleanup.
2) MKCol to create a first level collection.
3) MKCol to create a second level collection.
4) MKCol to create a third level collection.
5) Put a resource to the third level.
6) ACL command to grant read-acl privileges to user %user%.
7) PropFind command by user %user% to check that read-acl privileges have been granted.
8) Begin n threads.
6) ACL command which denies read-acl access to the user %user%
7) PropFind command by user %user% to check that read-acl privileges have been denied.
8) return all access back to default.
9) PropFind command by user %user% to check that read-acl privileges have been re-granted.
10) Delete created resource.
</description>
<expectedResult> Some users ACL commands should return 200 OK, others will receive a 409 Conflict error. </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1 HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2 HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3 HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body fileReference="../../../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<user varUsage="user">2%user%</user>
<password varUsage="user">2%user%</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="host,user"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>/administration/security/users/%host%/%user%</D:href>
</D:principal>
<D:grant>
<D:privilege><D:read-acl/></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]>
</body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
<header>Depth: 1</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0" ?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:acl />
</D:prop>
</D:propfind>]]>
</body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body varUsage="globalVariableServerName,globalVariableCollection,host,user"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml</D:href>
<D:propstat>
<D:prop>
<D:acl>
<D:ace>
<D:principal>
<D:href>/%globalVariableServerName%/administration/security/users/%host%/%user%</D:href>
</D:principal>
<D:grant>
<D:privilege>
<D:read-acl />
</D:privilege>
</D:grant>
<D:protected />
<D:inherited>
<D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href>
</D:inherited>
</D:ace>
<D:ace>
<D:principal>
<D:href>/%globalVariableServerName%/administration/security/users</D:href>
</D:principal>
<D:grant>
<D:privilege>
<D:all />
</D:privilege>
</D:grant>
<D:protected />
<D:inherited>
<D:href>/%globalVariableServerName%/</D:href>
</D:inherited>
</D:ace>
</D:acl>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>]]>
</body>
</response>
</step>
<repeater varUsage="globalVariableUsers" varDefinition="userNumber" repeatCount="%globalVariableUsers%">
<thread>
<repeater varUsage="globalVariableIterationCount" repeatCount="%globalVariableIterationCount%">
<step>
<user varUsage="user">2%user%</user>
<password varUsage="user">2%user%</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection% HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="host,user"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:href>/administration/security/users/%host%/%user%</D:href>
</D:principal>
<D:deny>
<D:privilege><D:read-acl/></D:privilege>
</D:deny>
</D:ace>
</D:acl>]]>
</body>
</request>
<response>
<command>HTTP/1.0 (200,409) OK</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
<header>Depth: 1</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0" ?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:acl />
</D:prop>
</D:propfind>]]>
</body>
</request>
<response>
<command>HTTP/1.0 403 Forbidden</command>
</response>
</step>
</repeater>
</thread>
</repeater>
<cleanup>
<step>
<user varUsage="user">2%user%</user>
<password varUsage="user">2%user%</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">ACL /%globalVariableServerName%/%globalVariableCollection%/ HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
<header>User-Agent: Jakarta HTTP Client/1.0</header>
<body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
<D:principal>
<D:all></D:all>
</D:principal>
<D:grant>
<D:privilege><D:all /></D:privilege>
</D:grant>
</D:ace>
</D:acl>]]>
</body>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
<header>Depth: 1</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0" ?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:acl />
</D:prop>
</D:propfind>]]>
</body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body varUsage="globalVariableServerName,globalVariableCollection"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/level1/level2/level3/test.xml</D:href>
<D:propstat>
<D:prop>
<D:acl>
<D:ace>
<D:principal>
<D:all />
</D:principal>
<D:grant>
<D:privilege>
<D:all />
</D:privilege>
</D:grant>
<D:protected />
<D:inherited>
<D:href>/%globalVariableServerName%/%globalVariableCollection%</D:href>
</D:inherited>
</D:ace>
<D:ace>
<D:principal>
<D:href>/%globalVariableServerName%/administration/security/users</D:href>
</D:principal>
<D:grant>
<D:privilege>
<D:all />
</D:privilege>
</D:grant>
<D:protected />
<D:inherited>
<D:href>/%globalVariableServerName%/</D:href>
</D:inherited>
</D:ace>
</D:acl>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>]]>
</body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Wed, 14 Mar 2001 14:47:37 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</cleanup>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>