/hg/release/icedtea-web-1.5: Add missing shouldPromptUser check ...
aazores at icedtea.classpath.org
aazores at icedtea.classpath.org
Mon Apr 7 14:29:14 UTC 2014
changeset 854acffa0c99 in /hg/release/icedtea-web-1.5
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=854acffa0c99
author: Andrew Azores <aazores at redhat.com>
date: Mon Apr 07 10:29:02 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 01d1e5e449f7 -r 854acffa0c99 ChangeLog
--- 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 at redhat.com>
+
+ * netx/net/sourceforge/jnlp/security/SecurityDialogs.java:
+ (showPartiallySignedWarningDialog) add missing shouldPromptUser check
+
2014-04-07 Jiri Vanek <jvanek at redhat.com>
Post 1.5 changes
diff -r 01d1e5e449f7 -r 854acffa0c99 netx/net/sourceforge/jnlp/security/SecurityDialogs.java
--- 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;
More information about the distro-pkg-dev
mailing list