juergen 2002/07/19 04:01:15
Added: testsuite/testsuite/junit/xmltestcases/ACL/functional/Report
ACLPrincipalMatchPrincipal-PropertySelfReport.xml
Log:
no message
Revision Changes Path
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/Report/ACLPrincipalMatchPrincipal-PropertySelfReport.xml
Index: ACLPrincipalMatchPrincipal-PropertySelfReport.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check ACL command </abstract>
<description>
1) REPORT command which obtains information about the resource
</description>
<expectedResult> When DAV:self element is issued in
DAV:principal-match, against a group, it returns all the collections where the user
(principal) is a member of those collections </expectedResult>
</specification>
<step>
<user varUsage="user">%user%</user>
<password varUsage="user">%user%</password>
<request>
<command varUsage="globalVariableServerName">REPORT
/%globalVariableServerName%/administration/security/users HTTP/1.0</command>
<header>content-type: text/xml; charset="utf-8"</header>
<header>content-length: 108</header>
<header>authorization: Basic dGVzdDp0ZXN0</header>
<body><![CDATA[
<D:principal-match xmlns:D="DAV:">
<D:self>
<D:owner/>
</D:self>
</D:principal-match>]]>
</body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="host,user,globalVariableServerName,globalVariableCollection"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/administration/security/users/%host%/%user%</D:href>
<D:status>HTTP/1.1 200 OK</D:status>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/administration/security/users</D:href>
<D:status>HTTP/1.1 200 OK</D:status>
</D:response>
<D:response>
<D:href>/%globalVariableServerName%/administration/security/users/%host%</D:href>
<D:status>HTTP/1.1 200 OK</D:status>
</D:response>
</D:multistatus>
]]>
</body>
</response>
</step>
</test>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>