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

Omair Majid omajid at redhat.com
Thu Jul 23 07:00:05 PDT 2009


Deepak Bhole wrote:
> * Omair Majid <omajid at redhat.com> [2009-07-16 16:47]:
>> 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.
>>
> 
> Can't you just synchronize the function instead of doing it on an object
> lock? All contents appear to be inside the syn. block anyway..
> 

Makes sense. Updated patch attached. Ok to commit?

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


More information about the distro-pkg-dev mailing list