Mercurial > hg > release > icedtea-web-1.5
changeset 980:854acffa0c99
Add missing shouldPromptUser check to Partially Signed dialog
author | Andrew Azores <aazores@redhat.com> |
---|---|
date | Mon, 07 Apr 2014 10:29:02 -0400 |
parents | 01d1e5e449f7 |
children | 80e5f17e3bbc |
files | ChangeLog netx/net/sourceforge/jnlp/security/SecurityDialogs.java |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Apr 07 12:50:40 2014 +0200 +++ b/ChangeLog Mon Apr 07 10:29:02 2014 -0400 @@ -1,3 +1,8 @@ +2014-04-07 Andrew Azores <aazores@redhat.com> + + * netx/net/sourceforge/jnlp/security/SecurityDialogs.java: + (showPartiallySignedWarningDialog) add missing shouldPromptUser check + 2014-04-07 Jiri Vanek <jvanek@redhat.com> Post 1.5 changes
--- a/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Mon Apr 07 12:50:40 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Mon Apr 07 10:29:02 2014 -0400 @@ -224,6 +224,10 @@ public static AppSigningWarningAction showPartiallySignedWarningDialog(JNLPFile file, CertVerifier certVerifier, SecurityDelegate securityDelegate) { + if (!shouldPromptUser()) { + return new AppSigningWarningAction(ExecuteAppletAction.NO, false); + } + final SecurityDialogMessage message = new SecurityDialogMessage(); message.dialogType = DialogType.PARTIALLYSIGNED_WARNING; message.accessType = AccessType.PARTIALLYSIGNED;