开发者

Java Web Start & proxyPort/proxyHost

my jws app is ignoring the proxy settings using the code like System.setProperty("proxyPort", value) etcp.

开发者_运维问答

Starting the application just by using the jar except the jnlp, the proxy will be setted.

Whats the reason behind?


It might be that the property being set is classed as a 'trusted property'. If that is the case then the JNLP will need to declare all-permissions in the security element.

It might also mean even that the JNLP file itself has to be included in the Jar & digitally signed along with the code. I am a little fuzzy on when that applies.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜