changeset 721:931592e5eab7 cacao

2008-02-19 Joshua Sumali <jsumali@redhat.com> * tools/netx/jnlp/security/CertWarningPane.java: Import the publisher's certificate instead of root certificate to trusted.certs.
author Joshua Sumali <jsumali@redhat.com>
date Tue, 19 Feb 2008 16:57:48 -0500
parents bc9e89ad95e5
children abe7a24fb5ef
files ChangeLog tools/netx/jnlp/security/CertWarningPane.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 19 13:34:04 2008 -0500
+++ b/ChangeLog	Tue Feb 19 16:57:48 2008 -0500
@@ -1,3 +1,8 @@
+2008-02-19  Joshua Sumali  <jsumali@redhat.com>
+
+	* tools/netx/jnlp/security/CertWarningPane.java: Import the publisher's
+	certificate instead of root certificate to trusted.certs.
+
 2008-02-19  Joshua Sumali  <jsumali@redhat.com>
 
 	* tools/netx/jnlp/resources/Messages.properties: Added new messages for
--- a/tools/netx/jnlp/security/CertWarningPane.java	Tue Feb 19 13:34:04 2008 -0500
+++ b/tools/netx/jnlp/security/CertWarningPane.java	Tue Feb 19 16:57:48 2008 -0500
@@ -210,7 +210,7 @@
 				try {
 					KeyTool kt = new KeyTool();
 					Certificate c =
-						((SecurityWarningDialog)optionPane).getJarSigner().getRoot();
+						((SecurityWarningDialog)optionPane).getJarSigner().getPublisher();
 					kt.importCert(c);
 				} catch (Exception ex) {
 					//TODO: Let NetX show a dialog here notifying user