/hg/icedtea-web: Add missing shouldPromptUser check to Partially...

aazores at icedtea.classpath.org aazores at icedtea.classpath.org
Mon Apr 7 14:30:30 UTC 2014


changeset 65cb5965ec77 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=65cb5965ec77
author: Andrew Azores <aazores at redhat.com>
date: Mon Apr 07 10:30:22 2014 -0400

	Add missing shouldPromptUser check to Partially Signed dialog


diffstat:

 ChangeLog                                               |  5 +++++
 netx/net/sourceforge/jnlp/security/SecurityDialogs.java |  4 ++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r aa4ee1301885 -r 65cb5965ec77 ChangeLog
--- a/ChangeLog	Wed Apr 02 15:52:42 2014 -0400
+++ b/ChangeLog	Mon Apr 07 10:30:22 2014 -0400
@@ -1,3 +1,8 @@
+2014-04-07  Andrew Azores  <aazores at redhat.com>
+
+	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java:
+	(showPartiallySignedWarningDialog) add missing shouldPromptUser check
+
 2014-04-02  Omair Majid  <omajid at redhat.com>
 
 	* netx/net/sourceforge/jnlp/util/ClasspathMatcher.java
diff -r aa4ee1301885 -r 65cb5965ec77 netx/net/sourceforge/jnlp/security/SecurityDialogs.java
--- a/netx/net/sourceforge/jnlp/security/SecurityDialogs.java	Wed Apr 02 15:52:42 2014 -0400
+++ b/netx/net/sourceforge/jnlp/security/SecurityDialogs.java	Mon Apr 07 10:30:22 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;


More information about the distro-pkg-dev mailing list