Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to grant all permissions to java applet through JNLP without popups?

874054Jul 7 2011 — edited Jul 11 2011
We are launching an applet using jnlp The applet needs to load a native library The jar and the jnlp are signed with a self generated certificate. The jnlp grants all permission with

<security>
<all-permissions/>
</security>
The policy file grants all permissions grant { permission java.security.AllPermission; };

We are getting a popup dialog “ java security warning” That says: this application is going to perform an insecure operation. Do you want to continue ?

Continue or cancel (see attached screen shot)

There is no “allow always” button

Which means that the dialog pops up “every time” the applet is launched. This is annoying to the user.

What can be done to disable this dialog to pop up or to make it appear at most once.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2011
Added on Jul 7 2011
4 comments
1,433 views