jdk/test/sun/security/tools/policytool/Alias.html
author weijun
Fri, 18 Oct 2013 08:57:52 +0800
changeset 20886 9630bb813a6c
parent 2 90ce3da70b43
permissions -rw-r--r--
7025699: Policy Tool is not accessible by keyboard Reviewed-by: alexp, weijun Contributed-by: Leif Samuelsson <leif.samuelsson@oracle.com>
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"
20886
9630bb813a6c 7025699: Policy Tool is not accessible by keyboard
weijun
parents: 2
diff changeset
    26
<li> Save using the file name "p1"
9630bb813a6c 7025699: Policy Tool is not accessible by keyboard
weijun
parents: 2
diff changeset
    27
<li> Click on "OK" in the status message window
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
<li> Open the "File" menu and "Open Policy"
20886
9630bb813a6c 7025699: Policy Tool is not accessible by keyboard
weijun
parents: 2
diff changeset
    29
<li> Open the file named "p1"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
<li> If the file opens successfully, the test passed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
     Otherwise, the test failed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
</ol>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
</body>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
</html>