[rfc][icedtea-web] New PartiallySigned Dialog
aazores at redhat.com
Tue Mar 4 14:07:09 PST 2014
This patch introduces a new PartiallySigned dialog to replace the
NotAllSigned prompt. This new dialog uses the same abstracted parent
class that was pulled out of the Unsigned dialog, so it uses the same
remembered action storage and has the same general look and feel. This
dialog also has a Sandbox button, just like CertWarningPane recently
gained for fully signed applets, which allows partially signed ones to
also be run with only sandbox permissions. Some more security info is
also present on the dialog, eg the applet's publisher and codebase. Not
yet included is a new Help text for this dialog, but this can be written
up separately IMO. Right now it will just display the same Help as the
Added new PartiallySigned Dialog to replace NotAllSignedWarningPane.
Also includes a Sandbox button.
LPartiallySignedAppletUserDenied) new messages
Logic added for displaying new PartiallySigned dialog.
(showNotAllSignedDialog) removed. (getSigningState) new method.
(promptUserOnPartialSigning, userPromptedForPartialSigning) new methods for
(partiallySigned) new method
(chosenActionSetter) refactored to allow Sandbox action.
title made overrideable by subclasses
renamed PARTIALLYSIGNED_WARNING, display new dialog rather than old
renamed PARTIALLYSIGNED_WARNING. (showNotAllSignedWarningDialog) removed.
(showPartiallySignedWarningDialog) new method
Added Sandbox action
(checkPartiallySignedWithUserIfRequired) new method
test now passes since dialog will not appear if applet security is set
* netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java: deleted
in favour of PartiallySignedAppTrustWarningPanel
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 36956 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140304/c8201b95/partially-signed-dialog-0001.patch
More information about the distro-pkg-dev