RFC: Netx - Dont prompt the user multiple times for the same https certificate

Omair Majid omajid at redhat.com
Thu Jul 16 13:30:07 PDT 2009


Hi,

Currently Netx can prompt the user multiple times to accept a single 
https certificate.

You can see the behaviour by running javaws (without cacerts) and going 
to https://substance.dev.java.net/webstart/Issue447.jnlp. You will get 
2 dialogs that ask you to confirm the https certificate (and one that 
asks you to confirm the jar certificate).

The attached patch makes it so that the user is only prompted once to 
confirm the https certificate.

ChangeLog:
2009-07-16  Omair Majid  <omajid at redhat.com>

   * rt/net/sourceforge/jnlp/security/VariableX509TrustManager.java
   add singleUserPromptLock.
   (checkServerTrusted): Synchronize on singleUserPromptLock.

Any comments?

Cheers,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netx-fewer-prompts.patch
Type: text/x-patch
Size: 1819 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090716/8ff4f1c9/netx-fewer-prompts.patch 


More information about the distro-pkg-dev mailing list