jdk/test/sun/security/tools/policytool/Alias.html
changeset 2 90ce3da70b43
child 20886 9630bb813a6c
equal deleted inserted replaced
0:fd16c54261b3 2:90ce3da70b43
       
     1 <html>
       
     2 <body>
       
     3 
       
     4 <applet width=100 height=100 code=Alias.class>
       
     5 </applet>
       
     6 
       
     7 This is a multi-stage test.  Click on "done" when you have completed
       
     8 reading these instructions.<br><br>
       
     9 
       
    10 <ol>
       
    11 <li> PolicyTool will be invoked
       
    12 <li> Click on "Add Policy Entry"
       
    13 <li> Click on "Add Principal"
       
    14 <li> Type "myalias" in the "Principal Name" field
       
    15      (leave "Principal Type" empty)
       
    16 <li> Click on "OK"
       
    17 <li> Confirm there is a message:
       
    18 	'myalias' will be interpreted as a key store alias. ...
       
    19      Click on "OK"
       
    20 <li> Click on "Done"
       
    21 <li> Open the "File" menu, and "View Warning Log"
       
    22 <li> Confirm there is a warning:
       
    23 	Warning: Principal name 'myalias' specified without a Principal class.
       
    24 <li> Click on "OK"
       
    25 <li> Open the "File" menu, and "Save As"
       
    26 <li> Enter "p1" as the file name
       
    27 <li> Click on "OK"
       
    28 <li> Click on "OK" in the message window
       
    29 <li> Open the "File" menu and "Open Policy"
       
    30 <li> Enter "p1" as the file name
       
    31 <li> Click on "OK"
       
    32 <li> If the file opens successfully, the test passed.
       
    33      Otherwise, the test failed.
       
    34 </ol>
       
    35 </body>
       
    36 </html>