0N/A<
b>ATTENTION:</
b> policytool now contains no platform-specific codes anymore and
0N/Ashould behaves exactly the same across all platforms. This also means:
0N/A <
li>You may only need to test it on one platform</
li>
0N/A <
li>You can create policy files for a platform which is different than
0N/A the platform you are running policytool on</
li>
0N/AThis is a multi-stage test. Click on "done" when you have completed
0N/Areading these instructions.<
br><
br>
0N/AFirst, policytool will be invoked.<
br><
br>
0N/A<
li>Add new policy entry
0N/A Type Target name Actions
0N/A FilePermission c:\\foo\\bar read
0N/A <
li>Confirm the file name warning dialog appears</
li>
0N/A <
li>Choose Retain, confirm the permission edit dialog is closed</
li>
0N/A <
li>Double click the newly craeted FilePermission entry to edit it</
li>
0N/A <
li>Confirm the file name warning dialog appears</
li>
0N/A <
li>Choose Edit, confirm the permission edit dialog is still opened</
li>
0N/A <
li>change Target name to c:\foo\bar</
li>
0N/A <
li>Press OK, no warning dialog is shown</
li>
0N/A DelegationPermission "me@SOMEWHERE" "you@SOMEWHERE"
0N/A <
li>Double click the newly craeted DelegationPermission entry to edit it</
li>
0N/A <
li>Confirm the target name is still "me@SOMEWHERE" "you@SOMEWHERE"</
li>
0N/A<
li>Confirm there are 2 entries in the permission list
0N/A<
li>Double click the new policy entry to edit it
0N/A<
li>Add a new Principal, say, KerberosPrincipal with Principal Name as aaa
0N/A<
li>Confirm there is 1 entry in the Pricipals list
0N/A<
li>Confirm there are 3 entries in the permission list
0N/A<
li>Double click the policy entry to edit it
0N/A<
li>Confirm there is ZERO entry in the Pricipals list
0N/A<
li>Confirm there are 2 entries in the permission list
0N/A<
li>Confirm that the file /tmp/p looks like
0N/A/* AUTOMATICALLY GENERATED ON Tue Jul 19 16:27:30 CST 2005*/
0N/APress "Pass" if ... press "Fail" otherwise.<
br><
br>