[RFC] netx: show security dialogs in a separate AppContext

Omair Majid omajid at redhat.com
Tue Oct 19 09:09:35 PDT 2010


Hi,

The attached patch makes security prompts appear in a separate 
AppContext. This ensures that the applet's look and feel is not 
automatically set to the system look and feel.

The patch is a superset of 
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-October/010500.html

This patch also implements a large part of the code necessary to allow 
applets to access their EventQueues. However, I still have to figure out 
how to use http://hg.openjdk.java.net/jdk7/awt/jdk/rev/8022709a306d to 
ensure allowing access to the EventQueue is safe. So for now, that code 
is disabled.

The patch ensures that the JNLPRuntime is always initialized in the main 
AppContext. It starts a thread in this AppContext to listen for security 
dialog messages, and shows security dialogs when it receives an 
appropriate security message. The security dialogs block the client 
applet/application until the user responds.

Any thoughts or comments?

Thanks,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea6-jnlp-eventqueue-05.patch
Type: text/x-patch
Size: 53484 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101019/a9ec838d/icedtea6-jnlp-eventqueue-05.patch 


More information about the distro-pkg-dev mailing list