juergen 2003/08/11 00:24:22
Modified: testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Read
ACLdenyReadACLInheritance2Head4Propfind2Get3Col.xml
Log:
replaced displayname with resourcetype.
Revision Changes Path
1.11 +7 -87
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Read/ACLdenyReadACLInheritance2Head4Propfind2Get3Col.xml
Index: ACLdenyReadACLInheritance2Head4Propfind2Get3Col.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Principle/Read/ACLdenyReadACLInheritance2Head4Propfind2Get3Col.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ACLdenyReadACLInheritance2Head4Propfind2Get3Col.xml 8 Aug 2003 14:31:07
-0000 1.10
+++ ACLdenyReadACLInheritance2Head4Propfind2Get3Col.xml 11 Aug 2003 07:24:22
-0000 1.11
@@ -8,11 +8,11 @@
2) PUT command creates a file in the collection test3
3) ACL command which denys read-acl access to the user %user% in
collection test2
5) Head command attempted on file
- 6) PropFind on Displayname attempted on file
+ 6) PropFind on resourcetype attempted on file
7) PropFind DAV:acl attempted on file
8) Get command attempted on file
10) Head command attempted on test3
- 11) PropFind on Displayname attempted on test3
+ 11) PropFind on resourcetype attempted on test3
12) PropFind DAV:acl attempted on test3
13) Get command attempted on test3
</description>
@@ -23,16 +23,9 @@
<password varUsage="user">%user%2</password>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test1 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>
@@ -40,16 +33,9 @@
<password varUsage="user">%user%2</password>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test1/test2 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>
@@ -57,16 +43,9 @@
<password varUsage="user">%user%2</password>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3
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>
@@ -74,17 +53,10 @@
<password varUsage="user">%user%2</password>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3/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"/>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
- <header>Date: Wed, 14 Mar 2001 15:45:51 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>
@@ -93,7 +65,6 @@
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/test1/test2 HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
@@ -115,28 +86,19 @@
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">HEAD
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3
HTTP/1.1</command>
- <header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
- <header>Accept-Language: en-us</header>
- <header>Connection: Keep-Alive</header>
- <header>Translate: f</header>
<body/>
</request>
<response>
<command>HTTP/1.1 200 OK</command>
- <header>Last-Modified: 2001-03-22T17:20:13Z</header>
<body/>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3
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" ?><propfind
xmlns="DAV:"><prop><displayname/></prop></propfind>]]></body>
+ <body><![CDATA[<?xml version="1.0" ?><propfind
xmlns="DAV:"><prop><resourcetype/></prop></propfind>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
@@ -147,7 +109,7 @@
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3</D:href>
<D:propstat>
<D:prop>
- <D:displayname>test3</D:displayname>
+
<D:resourcetype><D:collection/></D:resourcetype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
@@ -156,7 +118,7 @@
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3/test.xml</D:href>
<D:propstat>
<D:prop>
- <D:displayname>test.xml</D:displayname>
+ <D:resourcetype></D:resourcetype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
@@ -167,12 +129,7 @@
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3
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>
@@ -208,11 +165,6 @@
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3
HTTP/1.1</command>
- <header>Accept: */*</header>
- <header>Accept-Language: en-us</header>
- <header>Accept-Encoding: gzip, deflate</header>
- <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
NT 4.0)</header>
- <header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
@@ -221,44 +173,29 @@
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">HEAD
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3/test.xml
HTTP/1.1</command>
- <header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
- <header>Accept-Language: en-us</header>
- <header>Connection: Keep-Alive</header>
- <header>Translate: f</header>
<body/>
</request>
<response>
<command>HTTP/1.1 200 OK</command>
- <header>Last-Modified: 2001-03-22T17:20:13Z</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1"/>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3/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" ?><propfind
xmlns="DAV:"><prop><displayname/></prop></propfind>]]></body>
+ <body><![CDATA[<?xml version="1.0" ?><propfind
xmlns="DAV:"><prop><resourcetype/></prop></propfind>]]></body>
</request>
<response>
<command>HTTP/1.0 207 OK</command>
- <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1;
Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
- <body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><?xml
version="1.0" encoding="utf-8" ?><multistatus xmlns="DAV:"
xmlns:S="http://jakarta.apache.org/slide/"
><response><href>/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3/test.xml</href><propstat><prop><displayname>test.xml</displayname></prop><status>HTTP/1.1
200 OK</status></propstat></response></multistatus></body>
+ <body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><?xml
version="1.0" encoding="utf-8" ?><multistatus xmlns="DAV:"
xmlns:S="http://jakarta.apache.org/slide/"
><response><href>/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3/test.xml</href><propstat><prop><resourcetype></resourcetype></prop><status>HTTP/1.1
200 OK</status></propstat></response></multistatus></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3/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>
@@ -285,16 +222,9 @@
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/test1/test2/test3/test.xml
HTTP/1.1</command>
- <header>Accept: */*</header>
- <header>Accept-Language: en-us</header>
- <header>Accept-Encoding: gzip, deflate</header>
- <header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
NT 4.0)</header>
- <header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
- <header>Content-Type: text/xml</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
fileReference="../../../../contentDirectory/ValidXMLget.xm1"/>
</response>
</step>
@@ -304,8 +234,6 @@
<password varUsage="user">%user%2</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:acl>]]></body>
@@ -319,17 +247,9 @@
<password varUsage="user">%user%2</password>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test1 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: Tue, 13 Feb 2001 17:14:41
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>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]