aboutsummaryrefslogtreecommitdiff
path: root/test/sun/security/tools/policytool/Alias.html
blob: ee67609e3913fe2cc7e0850cc72be325bfb71089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<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>