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/08/07 08:30:59 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition ACE-ConflictGrantAllDenyReadACL.xml

juergen     2002/08/06 23:30:59

  Modified:    testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition
                        ACE-ConflictGrantAllDenyReadACL.xml
  Log:
  changed test case to ACL Spec example
  
  Revision  Changes    Path
  1.2       +2 -5      jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition/ACE-ConflictGrantAllDenyReadACL.xml
  
  Index: ACE-ConflictGrantAllDenyReadACL.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/AccessControlMethods/ACLPrecondition/ACE-ConflictGrantAllDenyReadACL.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ACE-ConflictGrantAllDenyReadACL.xml	24 Jun 2002 11:22:52 -0000	1.1
  +++ ACE-ConflictGrantAllDenyReadACL.xml	7 Aug 2002 06:30:59 -0000	1.2
  @@ -10,7 +10,7 @@
   		1) ACL command which grants all access and denies read-acl access to the user %user%
   		</description>
   		
  -		<expectedResult> ACL command should return 403 Forbidden   </expectedResult>
  +		<expectedResult> ACL command should return 400 Bad Request   </expectedResult>
   	</specification>
   
   <step>
  @@ -30,9 +30,6 @@
               <D:grant>
                  <D:privilege><D:all /></D:privilege>
               </D:grant>         
  -        </D:ace>   
  -
  -        <D:ace>
               <D:principal>
                  <D:href>/administration/security/users/%host%/%user%</D:href>
               </D:principal>
  @@ -45,7 +42,7 @@
      </body>
     </request>
     <response>
  -   <command>HTTP/1.0 403 Forbidden</command>
  +   <command>HTTP/1.0 400 Bad Request</command>
     </response>
    </step>
    
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>