How to publish a Java Web Start jnlp application without security warnings?

為{幸葍}努か 提交于 2019-12-01 11:06:42

Yes , you have to update all jars
You can add these properties directly into manifest of the jar files (all jars) from a file -

In your plugins directory :

jar ufm <jar_file> additionalAttribute.txt

This additionalAttribute.txt will contain your additional manifest attribute like -

Permissions: all-permissions  
Codebase: *  
Application-Name: My App  
Caller-Allowable-Codebase: *  
Trusted-Library: true
Application-Library-Allowable-Codebase: *

Do I have to update the jar manifest for the third-party libraries that I'm using as well?

Yes. All parts, all Jars of our applications have the same security requirements.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!