Forums Register Login

In manifest.mf Trusted-Library: true giving me mixed code prompts

+Pie Number of slices to send: Send
My system contains four jars. One jar contains Mixedcode(applet called from javascript). The jar containing the mixed code accesses other jars also. I added the attribute Trusted-Library : true and Permissions: all-permissions in manifest.mf(I'm using Java7 update25) of the jar containing the mixed code. All the jars are self-signed. Now the problem is I'm still getting the mixed code warning, which Oracle introduced in Java 7 update21.

Should i add the attributes in manifest.mf file of other jars also ?

My observations are:

After adding Trusted-Library : true and Permissions: all-permissions in all jars(doesn't matter whether they are signed or unsigned) it works fine. All the jars are loaded.

But why do i need to add these particular attributes in all the jars(Some of jars are third party jars)? According to definition of Mixedcode and usage of the attribute Trusted-Library: true it should allow other jars once it is updated in Manifest.mf file of jar containing the applet.
She said she got a brazillian. I think owning people is wrong. That is how I learned ... tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2109 times.
Similar Threads
'signing' and 'grant'
SCJEA Sample questions on Sun's site (whoops)
Applet throwing exception when running it through web browser
ClassNotFoundException when online certification validation is enabled
Java Programming Cookbook: Applet Security
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:55:15.