juergen     2002/07/31 00:18:55

  Modified:    testsuite/testsuite/junit/xmltestcases/DASL/functional/select/ACL
                        denyReadACLSearch.xml
  Log:
  do 2 queries, one is successfull, the other is rejected by security.
  
  Revision  Changes    Path
  1.2       +55 -2     
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/select/ACL/denyReadACLSearch.xml
  
  Index: denyReadACLSearch.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/select/ACL/denyReadACLSearch.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- denyReadACLSearch.xml     12 Jul 2002 07:12:45 -0000      1.1
  +++ denyReadACLSearch.xml     31 Jul 2002 07:18:55 -0000      1.2
  @@ -90,6 +90,8 @@
        
        
        <step> 
  +             <user varUsage="user">2%user%</user>
  +             <password varUsage="user">2%user%</password>
                <request>
                        <command varUsage ="globalVariableServerName">SEARCH 
/%globalVariableServerName% HTTP/1.1</command> 
                        <body varUsage="globalVariableCollection"><![CDATA[<?xml 
version="1.0" encoding="UTF-8"?>
  @@ -103,7 +105,7 @@
                                                </D:select>
                                                <D:from>
                                                        <D:scope>
  -                                                             
<D:href>%globalVariableCollection%/acl_dasl.xml</D:href>
  +                                                             
<D:href>%globalVariableCollection%</D:href>
                                                                <D:depth>1</D:depth>
                                                        </D:scope>
                                                </D:from>
  @@ -114,7 +116,58 @@
                </request>
        
                <response>
  -                     <command>HTTP/1.0 403 Forbidden</command>
  +                     <command>HTTP/1.0 207 Multi-Status</command>
  +             </response>
  +     </step>
  +     
  +     
  +     
  +     <step> 
  +             <request>
  +                     <command varUsage ="globalVariableServerName">SEARCH 
/%globalVariableServerName% HTTP/1.1</command> 
  +                     <body varUsage="globalVariableCollection"><![CDATA[<?xml 
version="1.0" encoding="UTF-8"?>
  +                             <searchrequest xmlns:D="DAV:">
  +                                     <D:basicsearch>
  +                                             <D:select>
  +                                                     <D:prop>
  +                                                             <D:displayname/>
  +                                                             <D:test/>
  +                                                     </D:prop>
  +                                             </D:select>
  +                                             <D:from>
  +                                                     <D:scope>
  +                                                             
<D:href>%globalVariableCollection%</D:href>
  +                                                             <D:depth>1</D:depth>
  +                                                     </D:scope>
  +                                             </D:from>
  +                                     </D:basicsearch>
  +                             </searchrequest>        
  +                                     ]]>                     
  +                             </body>
  +             </request>
  +     
  +             <response>
  +                     <command>HTTP/1.0 207 Multi-Status</command>
  +                     <body><![CDATA[<?xml version="1.0" encoding="UTF-8"?>   
  +                            <D:multistatus xmlns:D="DAV:">
  +                              <D:response>
  +                                
<D:href>/taminowebdavserver/files31NT/acl_dasl.xml</D:href>
  +                                <D:propstat>
  +                                  <D:prop>
  +                                    <D:displayname>acl_dasl.xml</D:displayname>
  +                                  </D:prop>
  +                                  <D:status>HTTP/1.1 200 OK</D:status>
  +                                </D:propstat>
  +                                <D:propstat>
  +                                  <D:prop>
  +                                    <D:test />
  +                                  </D:prop>
  +                                  <D:status>HTTP/1.1 404 Not Found</D:status>
  +                                </D:propstat>
  +                              </D:response>
  +                            </D:multistatus>                         
  +                                     ]]>
  +                     </body>
                </response>
        </step>
        
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to