0N/A<html>
0N/A<body>
0N/A
0N/A<applet width=100 height=100 code=i18n.class>
0N/A</applet>
0N/A
0N/AThis is a multi-stage test. Click on "done" when you have completed
0N/Areading these instructions.<br>
0N/A<p>
0N/AFirst, policytool will be invoked. During the entire test,
0N/Amake sure that all the buttons, menu options, error messages,
0N/Aand output messages are comprehensible
0N/A(you can read all the english text fine).
0N/AIf at any time an exception is thrown, or if any message
0N/Ais incomprehensible, then the test failed. Otherwise,
0N/Athe test passed.
0N/A<p>
0N/APress "Pass" if ... press "Fail" otherwise.
0N/A<p>
0N/A<ol>
0N/A<li> Pull down the 'File' and 'KeyStore' menus and check values
0N/A<li> Pull down 'File' menu and select 'View Warning Log'. Confirm FileNotFound.
0N/A<li> Pull down 'File' menu and select 'New'.
0N/A<li> Pull down 'File' menu and select 'View Warning Log'. Confirm empty.
0N/A<li> Click on 'Add Policy Entry' and check pop-up window
0N/A<li> Click on 'Edit Permission' and 'Remove Permission' and check error messages
0N/A<li> Click on 'Add Permission' and check pop-up window
0N/A<li> Pull down 'Permission' menu and check values
0N/A<li> Select 'AWTPermission', pull down 'Target Name' and check values
0N/A<li> Select 'FilePermission', pull down 'Target Name' and 'Actions' and check values.
0N/A<li> Select 'NetPermission', pull down 'Target Name' and check values
0N/A<li> Select 'PropertyPermission', pull down 'Actions' and check values
0N/A<li> Select 'ReflectPermission', pull down 'Target Name' and check values
0N/A<li> Select 'RuntimePermission', pull down 'Target Name' and check values
0N/A<li> Select 'SecurityPermission', pull down 'Target Name' and check values
0N/A<li> Select 'SerializablePermission', pull down 'Target Name' and check values
0N/A<li> Select 'SocketPermission', pull down 'Actions' and check values
0N/A<li> Type "www.example.com" for SocketPermission 'TargetName',
0N/A and "connect" for 'Actions'
0N/A<li> Click OK
0N/A<li> Check new entry
0N/A<li> Click once on new entry
0N/A<li> Click on 'Edit Permission' and confirm values
0N/A<li> Select AudioPermission. Confirm 'Target Name' and 'Actions' cleared.
0N/A<li> Select "play" from Target menu.
0N/A<li> Click OK, confirm changed permission.
0N/A<li> Type "hello" for 'CodeBase', click on 'Done', and check error message
0N/A<li> Type "hello" for 'SignedBy', click on 'Done', and check warning message
0N/A<li> Click, on 'Edit Policy Entry' and 'Remove Policy Entry'
0N/A and check error messages
0N/A<li> Select policy entry, click on 'Edit Policy Entry', and check pop-up window
0N/A<li> Select policy entry, click on 'Remove Policy Entry',
0N/A and check pop-up window
0N/A<li> Do not remove the entry, click 'Cancel'.
0N/A<li> Pull down 'File' menu and select 'Exit'. Confirm Save option.
0N/A Click 'Cancel'.
0N/A<li> Select 'File' menu value 'Save', enter "/tmp/policy1" as the filename,
0N/A and check status message
0N/A<li> Select 'File' menu value 'New'
0N/A<li> Click 'Add Policy Entry', type in "hello" for 'SignedBy' field,
0N/A click 'Done'. Confirm warning.
0N/A<li> Select 'File' menu value 'Open' and confirm save option
0N/A (do not save changes)
0N/A<li> Type "/tmp/policy1" for the filename and confirm warning message
0N/A<li> Pull down 'File' menu, select 'View Warning Log'
0N/A and confirm KeyStore alias warning
0N/A<li> Pull down 'KeyStore' menu and select 'Edit'
0N/A<li> Enter 'foo' as KeyStore URL and check error
0N/A<li> Using keytool create JKS keystore
0N/A<li> Enter KeyStore URL but leave other fields empty. Should succeed.
0N/A<li> Pull down 'KeyStore' menu and select 'Edit'
0N/A<li> Confirm URL and Type values.
0N/A<li> Enter 'foo' as the provider and check error message.
0N/A<li> Enter 'SUN' as the provider. Should succeed.
0N/A<li> Pull down 'KeyStore' menu and select 'Edit'
0N/A<li> Confirm URL, Type, and Provider values.
0N/A<li> Enter 'foo' as the password URL and check error message.
0N/A<li> Enter URL with bad password and check error message.
0N/A<li> Enter URL with good password. Should succeed.
0N/A<li> Pull down 'KeyStore' menu and select 'Edit'
0N/A<li> Confirm URL, Type, Provider, and Password URL values.
0N/A<li> Click OK
0N/A<li> Pull down 'File' menu and select 'Save As'. Enter /tmp/policy2.
0N/A Confirm status message.
0N/A<li> Pull down 'File' menu and select 'New'.
0N/A<li> Pull down 'File' menu and select 'Open'. Enter /tmp/policy2.
0N/A Confirm warning message.
0N/A<li> Click on 'Add Policy Entry', enter Codebase 'http://foo',
0N/A SignedBy 'bar'. Click on 'Done' and confirm alias warning.
0N/A<li> Double-Click on just created policy entry, confirm edit window appears.
0N/A<li> Change SignedBy to an alias in previously created keystore.
0N/A<li> Click on Done and confirm it worked with no warning.
0N/A<li> Double-Click on "SignedBy hello" policy entry and
0N/A confirm edit window appears.
0N/A<li> Click on Edit/Remove Principal, confirm errors.
0N/A<li> Click on 'Add Principal' and check new window.
0N/A<li> Click on 'OK' and confirm error message (no principal name)
0N/A<li> Enter valid KeyStore alias as principal name, click OK and
0N/A confirm status message.
0N/A<li> Confirm new principal in Principals list.
0N/A<li> Click on 'Done' (creating policy entry), confirm alias warning.
0N/A<li> View warning log and confirm X500Principal/KeyStore alias message.
0N/A<li> Confirm principal added to policy entry in main window listing.
0N/A<li> Double click on that entry.
0N/A<li> Enter codebase "file:/foobar".
0N/A<li> Click on 'Add Principal'. Select KerberosPrincipal. enter 'foo' as name.
0N/A Click OK.
0N/A<li> Confirm new principal in list.
0N/A<li> Double-click on new principal. Select X500Principal.
0N/A Confirm name cleared. Type 'foo' as name. Click OK. Confirm error.
0N/A type 'cn=foo' as name. Click OK. should succeed.
0N/A<li> Confirm changed principal in list.
0N/A<li> Click on 'Add Permission', and add any FilePermission.
0N/A<li> Click on 'Done' in Policy Entry window. Confirm alias warning.
0N/A<li> Confirm entries in main window listing.
0N/A<li> Select 'File' menu value 'Exit'
0N/A<li> Save Changes, confirm status message.
0N/A</ol>
0N/A<p>
0N/A
0N/A</body>
0N/A</html>