test/sun/security/tools/policytool/ChangeUI.html

Print this page
rev 7285 : 8015274: TEST_BUG: Step2: After selecting 'View Warning Log', it is empty instead of FileNotFound.
8015276: TEST_BUG: The 'ptool.test' can't be saved in the 'tmp' folder.
8016158: Instruction is not clear on how to use keytool to create JKS store in case

*** 15,25 **** This is a multi-stage test. Click on "done" when you have completed reading these instructions.<br><br> First, policytool will be invoked.<br><br> <ol start="0"> ! <li>If testing on Windows, create a temporary directory. (Example: C:\foo\tmp) <li>Add new policy entry <li>Add permission: <pre> Type Target name Actions FilePermission c:\\foo\\bar read --- 15,26 ---- This is a multi-stage test. Click on "done" when you have completed reading these instructions.<br><br> First, policytool will be invoked.<br><br> <ol start="0"> ! <li>Find (or create) a temporary directory that you have write access to. ! (Example: 'C:\foo\tmp' on Windows or '/tmp' on other systems) <li>Add new policy entry <li>Add permission: <pre> Type Target name Actions FilePermission c:\\foo\\bar read
*** 61,73 **** <li>Double click the policy entry to edit it <li>Confirm there are ZERO entries in the Principals list <li>Confirm there are 2 entries in the permission list <li>Press cancel <li>Save as "/tmp/p"<br> ! If testing on Windows, save in the temporary directory created in Step 0. ! (Example: Save as "C:\foo\tmp\p.policy") ! <li>Confirm that the file /tmp/p (or C:\foo\tmp\p.policy) looks like <pre> /* AUTOMATICALLY GENERATED ON Tue Jul 19 16:27:30 CST 2005*/ /* DO NOT EDIT */ grant { --- 62,74 ---- <li>Double click the policy entry to edit it <li>Confirm there are ZERO entries in the Principals list <li>Confirm there are 2 entries in the permission list <li>Press cancel <li>Save as "/tmp/p"<br> ! (Or use the temporary directory mentioned in Step 0 if it's not '/tmp'. ! For example, "C:\foo\tmp\p" on Windows) ! <li>Confirm that the file created in the previous step looks like <pre> /* AUTOMATICALLY GENERATED ON Tue Jul 19 16:27:30 CST 2005*/ /* DO NOT EDIT */ grant {