test/jdk/sun/security/tools/policytool/Alias.html
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 20886 jdk/test/sun/security/tools/policytool/Alias.html@9630bb813a6c
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse

<html>
<body>

<applet width=100 height=100 code=Alias.class>
</applet>

This is a multi-stage test.  Click on "done" when you have completed
reading these instructions.<br><br>

<ol>
<li> PolicyTool will be invoked
<li> Click on "Add Policy Entry"
<li> Click on "Add Principal"
<li> Type "myalias" in the "Principal Name" field
     (leave "Principal Type" empty)
<li> Click on "OK"
<li> Confirm there is a message:
	'myalias' will be interpreted as a key store alias. ...
     Click on "OK"
<li> Click on "Done"
<li> Open the "File" menu, and "View Warning Log"
<li> Confirm there is a warning:
	Warning: Principal name 'myalias' specified without a Principal class.
<li> Click on "OK"
<li> Open the "File" menu, and "Save As"
<li> Save using the file name "p1"
<li> Click on "OK" in the status message window
<li> Open the "File" menu and "Open Policy"
<li> Open the file named "p1"
<li> If the file opens successfully, the test passed.
     Otherwise, the test failed.
</ol>
</body>
</html>