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