juergen 2003/12/04 01:32:10
Modified: testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD
329_PutContentToRolesCollection.xml
312_changeReadOnlyProperty_ByAdmin.xml
311_delete_XSV_roles_ByAdmin.xml
Added: testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD
309_setNonWriteableProperty_ByUser.xml
330_getDefaultPrivileges.xml 331_setPrivileges.xml
332_setNotExistingPrivilege.xml
333_setDifferentPrivileges.xml
Log:
changes and new tests
Revision Changes Path
1.2 +6 -6
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/329_PutContentToRolesCollection.xml
Index: 329_PutContentToRolesCollection.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/329_PutContentToRolesCollection.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 329_PutContentToRolesCollection.xml 26 Nov 2003 09:36:30 -0000 1.1
+++ 329_PutContentToRolesCollection.xml 4 Dec 2003 09:32:10 -0000 1.2
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
- <specification>
- <abstract>Try to PUT a file into a role folder.</abstract>
- <description>
+ <specification>
+ <abstract>Try to PUT a file into a role folder.</abstract>
+ <description>
1) Create a role.
2) PUT a file into the created role.
Cleanup</description>
- <expectedResult>
+ <expectedResult>
Operation fails.
</expectedResult>
- </specification>
+ </specification>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">MKCOL
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
@@ -21,7 +21,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableRootUserPath,globalVariableGroupsColl">PUT
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole/tempTextFile.txt
HTTP/1.1</command>
+ <command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PUT
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole/tempTextFile.txt
HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[
This is a dummy text.
]]></body>
1.2 +8 -9
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/312_changeReadOnlyProperty_ByAdmin.xml
Index: 312_changeReadOnlyProperty_ByAdmin.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/312_changeReadOnlyProperty_ByAdmin.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 312_changeReadOnlyProperty_ByAdmin.xml 26 Nov 2003 09:36:30 -0000 1.1
+++ 312_changeReadOnlyProperty_ByAdmin.xml 4 Dec 2003 09:32:10 -0000 1.2
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
- <specification>
- <abstract>
+ <specification>
+ <abstract>
Change read only properties.
</abstract>
- <description>
+ <description>
As a precondition the variable testUnwriteable
must be set in the urm_config.xml
1) Create a new role.
2) PROPFIND for a read only property.
3) PROPPATCH that property with some different
value.
Cleanup</description>
- <expectedResult>
+ <expectedResult>
Operation is forbidden.
</expectedResult>
- </specification>
+ </specification>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">MKCOL
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
@@ -30,11 +30,10 @@
<D:propertyupdate xmlns:D="DAV:" >
<D:set>
<D:prop>
- <xsv:testPropertyNotWriteable
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">the description property
was changed</xsv:testPropertyNotWriteable>
+ <D:modificationdate
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">the modifcation property
was changed</D:modificationdate>
</D:prop>
</D:set>
</D:propertyupdate>
-
]]></body>
</request>
<response>
@@ -45,10 +44,10 @@
<D:href>/taminowebdavserver/administration/security/userdb/roles/tempRole</D:href>
<D:propstat>
<D:prop>
- <testPropertyNotWriteable
xmlns="http://namespaces.softwareag.com/tamino/webdav" />
+ <D:modificationdate />
</D:prop>
<D:status>HTTP/1.1 409 Conflict</D:status>
- <D:responsedescription>Property
<testPropertyNotWriteable xmlns="http://namespaces.softwareag.com/tamino/webdav"
/> is protected</D:responsedescription>
+ <D:responsedescription>Property <modificationdate
xmlns="DAV:" /> is protected</D:responsedescription>
</D:propstat>
</D:response>
</D:multistatus>
1.2 +1 -3
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/311_delete_XSV_roles_ByAdmin.xml
Index: 311_delete_XSV_roles_ByAdmin.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/311_delete_XSV_roles_ByAdmin.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 311_delete_XSV_roles_ByAdmin.xml 26 Nov 2003 09:36:30 -0000 1.1
+++ 311_delete_XSV_roles_ByAdmin.xml 4 Dec 2003 09:32:10 -0000 1.2
@@ -28,12 +28,10 @@
<D:propertyupdate xmlns:D="DAV:" >
<D:remove>
<D:prop>
- <xsv:roles xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav"/>
+ <D:resourcetype/>
</D:prop>
</D:remove>
</D:propertyupdate>
-
-
]]></body>
</request>
<response>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/309_setNonWriteableProperty_ByUser.xml
Index: 309_setNonWriteableProperty_ByUser.xml
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract>
Change a property by a user without admin role.
</abstract>
<description>
1) Create a role.
2) Create a user.
3) PROPPATCH a modifiable property of the role
using the created user.
4) PROPPATCH a read only property of the role
using the created user.
Cleanup</description>
<expectedResult>
Operations are forbidden.
</expectedResult>
</specification>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableUsersColl">MKCOL
%globalVariableRootUserPath%/%globalVariableUsersColl%/tempUserActive
HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">MKCOL
%globalVariableRootUserPath%/%globalVariableRolesColl%/tmpRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<step>
<user varUsage="user">tempUserActive</user>
<password varUsage="user">Administrator</password>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableUsersColl,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tmpRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:" xmlns:Z="http://www.com/">
<D:set>
<D:prop>
<D:modificationdate
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">the modifcation property
was changed</D:modificationdate>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,host,globalVariableCollection,globalVariableRolesColl"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/taminowebdavserver/administration/security/userdb/roles/tmpRole</D:href>
<D:propstat>
<D:prop>
<D:modificationdate />
</D:prop>
<D:status>HTTP/1.1 409 Conflict</D:status>
<D:responsedescription>Property <modificationdate
xmlns="DAV:" /> is protected</D:responsedescription>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">DELETE
%globalVariableRootUserPath%/%globalVariableRolesColl%/tmpRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 204 No Content</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableUsersColl">DELETE
%globalVariableRootUserPath%/%globalVariableUsersColl%/tempUserActive
HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 204 No Content</command>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/330_getDefaultPrivileges.xml
Index: 330_getDefaultPrivileges.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract>
Getting privileges of a role with no
privileges.
</abstract>
<description>
1) Create a role.
2) PROPFIND for the privileges of that role.
Cleanup</description>
<expectedResult>
There are no privileges in the result.
</expectedResult>
</specification>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">MKCOL
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav"/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav"/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">DELETE
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 204 No Content</command>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/331_setPrivileges.xml
Index: 331_setPrivileges.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract>
Getting privileges of a role.
</abstract>
<description>
1) Create a role.
2) Create some privileges and add them to the
role.
3) PROPFIND for the privileges of that role.
Cleanup</description>
<expectedResult>
The added privileges are returned in the result.
</expectedResult>
</specification>
<!-- get actions path-->
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl% HTTP/1.1</command>
<header>Content-Type: text/xml</header>
<header>Depth: 0</header>
<body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:privilege-collection-set />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.1 207 Multi Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableRolesColl,ACTION_PATH"
varDefinition="ACTION_PATH"
varPath="multistatus/response/propstat/prop/privilege-collection-set/href"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%</D:href>
<D:propstat>
<D:prop>
<D:privilege-collection-set>
<D:href>%ACTION_PATH%</D:href>
</D:privilege-collection-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<!-- end get actions path-->
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">MKCOL
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<repeater repeatCount="5" varDefinition="number">
<step>
<request>
<command varUsage="number,ACTION_PATH">MKCOL
%ACTION_PATH%/testPriv%number% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
</repeater>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav"/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav"/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:grant-privilege-set>
<D:privilege>
<D:testPriv1/>
</D:privilege>
<D:privilege>
<D:testPriv2/>
</D:privilege>
<D:privilege>
<D:testPriv3/>
</D:privilege>
</xsv:grant-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:grant-privilege-set />
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:deny-privilege-set>
<D:privilege>
<D:testPriv4/>
</D:privilege>
<D:privilege>
<D:testPriv5/>
</D:privilege>
</xsv:deny-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:deny-privilege-set />
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup,ACTION_PATH"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/taminowebdavserver/administration/security/userdb/roles/tempRole</D:href>
<D:propstat>
<D:prop>
<grant-privilege-set
xmlns="http://namespaces.softwareag.com/tamino/webdav">
<D:privilege>
<D:testPriv1/>
</D:privilege>
<D:privilege>
<D:testPriv2/>
</D:privilege>
<D:privilege>
<D:testPriv3/>
</D:privilege>
</grant-privilege-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup,ACTION_PATH"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/taminowebdavserver/administration/security/userdb/roles/tempRole</D:href>
<D:propstat>
<D:prop>
<deny-privilege-set
xmlns="http://namespaces.softwareag.com/tamino/webdav">
<D:privilege>
<D:testPriv4/>
</D:privilege>
<D:privilege>
<D:testPriv5/>
</D:privilege>
</deny-privilege-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<repeater repeatCount="5" varDefinition="number">
<step>
<request>
<command varUsage="number,ACTION_PATH">DELETE
%ACTION_PATH%/testPriv%number% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 403 Forbidden</command>
</response>
</step>
</repeater>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:deny-privilege-set>
</xsv:deny-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:deny-privilege-set />
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:grant-privilege-set>
</xsv:grant-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:grant-privilege-set />
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav"/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav"/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<repeater repeatCount="5" varDefinition="number">
<step>
<request>
<command varUsage="number,ACTION_PATH">DELETE
%ACTION_PATH%/testPriv%number% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 204 No Content</command>
</response>
</step>
</repeater>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">DELETE
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 204 No Content</command>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/332_setNotExistingPrivilege.xml
Index: 332_setNotExistingPrivilege.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Thorsten Raab
(Software AG) -->
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract>
Adding non existing privileges to a role.
</abstract>
<description>
1) Create a role.
2) Add a non existing privilege to that role.
Cleanup</description>
<expectedResult>
Operation fails.
</expectedResult>
</specification>
<!-- get actions path-->
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl% HTTP/1.1</command>
<header>Content-Type: text/xml</header>
<header>Depth: 0</header>
<body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:privilege-collection-set />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.1 207 Multi Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableRolesColl,ACTION_PATH"
varDefinition="ACTION_PATH"
varPath="multistatus/response/propstat/prop/privilege-collection-set/href"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%</D:href>
<D:propstat>
<D:prop>
<D:privilege-collection-set>
<D:href>%ACTION_PATH%</D:href>
</D:privilege-collection-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<!-- end get actions path-->
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">MKCOL
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:grant-privilege-set>
<D:privilege>
<D:testNotExistingPrivilege/>
</D:privilege>
</xsv:grant-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.1 409 Conflict</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">DELETE
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 204 No Content</command>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/ACL/functional/roles/CRUD/333_setDifferentPrivileges.xml
Index: 333_setDifferentPrivileges.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Thorsten Raab
(Software AG) -->
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract>
Adding priviliges repeated times.
</abstract>
<description>
1) Create a role.
2) Create three privileges (testPriv1 to
testPriv3).
3) Set privilege testPriv1 (grant).
4) PROPFIND for the privileges of the role.
5) Set privilege testPriv2 (deny).
6) PROPFIND for the privileges of the role.
7) Set privileges testPriv1 and testPriv3
(deny).
8) PROPFIND for the privileges of the role.
9) Set privilege testPriv3 (grant).
10) PROPFIND for the privileges of the role.
Cleanup</description>
<expectedResult>
4) Privilege returned: grant = testPriv1; deny = empty.
6) Privilege returned: grant = testPriv1; deny =
testPriv2.
8) Privilege returned: grant = testPriv1; deny =
testPriv1 and testPriv3.
10) Privilege returned: grant = testPriv3; deny =
testPriv1 and testPriv3.
</expectedResult>
</specification>
<!-- get actions path-->
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl% HTTP/1.1</command>
<header>Content-Type: text/xml</header>
<header>Depth: 0</header>
<body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:privilege-collection-set />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.1 207 Multi Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableRolesColl,ACTION_PATH"
varDefinition="ACTION_PATH"
varPath="multistatus/response/propstat/prop/privilege-collection-set/href"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%</D:href>
<D:propstat>
<D:prop>
<D:privilege-collection-set>
<D:href>%ACTION_PATH%</D:href>
</D:privilege-collection-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<!-- end get actions path-->
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">MKCOL
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<repeater repeatCount="3" varDefinition="number">
<step>
<request>
<command varUsage="number,ACTION_PATH">MKCOL
%ACTION_PATH%/testPriv%number% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
</repeater>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:grant-privilege-set>
<D:privilege>
<D:testPriv1/>
</D:privilege>
</xsv:grant-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:grant-privilege-set />
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup,ACTION_PATH"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/taminowebdavserver/administration/security/userdb/roles/tempRole</D:href>
<D:propstat>
<D:prop>
<grant-privilege-set
xmlns="http://namespaces.softwareag.com/tamino/webdav">
<D:privilege>
<D:testPriv1/>
</D:privilege>
</grant-privilege-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:deny-privilege-set>
<D:privilege>
<D:testPriv2/>
</D:privilege>
</xsv:deny-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:deny-privilege-set />
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup,ACTION_PATH"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/taminowebdavserver/administration/security/userdb/roles/tempRole</D:href>
<D:propstat>
<D:prop>
<deny-privilege-set
xmlns="http://namespaces.softwareag.com/tamino/webdav">
<D:privilege>
<D:testPriv2/>
</D:privilege>
</deny-privilege-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:deny-privilege-set>
<D:privilege>
<D:testPriv1/>
<D:testPriv3/>
</D:privilege>
</xsv:deny-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:deny-privilege-set />
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup,ACTION_PATH"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/taminowebdavserver/administration/security/userdb/roles/tempRole</D:href>
<D:propstat>
<D:prop>
<deny-privilege-set
xmlns="http://namespaces.softwareag.com/tamino/webdav">
<D:privilege>
<D:testPriv1/>
<D:testPriv3/>
</D:privilege>
</deny-privilege-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">PROPPATCH
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<body
varUsage="globalVariableUserPath,globalVariableUsersColl,globalVariableRootUserPath,globalVariableServerName,globalVariableRolesColl,
user,host,ACTION_PATH"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:set>
<D:prop>
<xsv:grant-privilege-set>
<D:privilege>
<D:testPriv3/>
</D:privilege>
</xsv:grant-privilege-set>
</D:prop>
</D:set>
</D:propertyupdate>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">
<D:response>
<D:href>%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole</D:href>
<D:propstat>
<D:prop>
<xsv:grant-privilege-set />
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:grant-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup,ACTION_PATH"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/taminowebdavserver/administration/security/userdb/roles/tempRole</D:href>
<D:propstat>
<D:prop>
<grant-privilege-set
xmlns="http://namespaces.softwareag.com/tamino/webdav">
<D:privilege>
<D:testPriv3/>
</D:privilege>
</grant-privilege-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl,user,group">PROPFIND
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
<header>Depth: 0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<xsv:deny-privilege-set
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav" />
</D:prop>
</D:propfind>
]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body
varUsage="globalVariableRootUserPath,globalVariableServerName,user,group,host,globalVariableCollection,globalVariableUsersColl,globalVariableGroupsColl,globalVariableRolesColl,globalVariableGroup,ACTION_PATH"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/taminowebdavserver/administration/security/userdb/roles/tempRole</D:href>
<D:propstat>
<D:prop>
<deny-privilege-set
xmlns="http://namespaces.softwareag.com/tamino/webdav">
<D:privilege>
<D:testPriv1/>
<D:testPriv3/>
</D:privilege>
</deny-privilege-set>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableRootUserPath,globalVariableRolesColl">DELETE
%globalVariableRootUserPath%/%globalVariableRolesColl%/tempRole HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 204 No Content</command>
</response>
</step>
<repeater repeatCount="3" varDefinition="number">
<step>
<request>
<command varUsage="number,ACTION_PATH">DELETE
%ACTION_PATH%/testPriv%number% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.1 204 No Content</command>
</response>
</step>
</repeater>
</test>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]