JNLP 中的 java.security.properties [英] java.security.properties in JNLP

查看:87
本文介绍了JNLP 中的 java.security.properties的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道你可以指定一个文件来覆盖 java.security f

I know you ca specify a file that is going to override the java.security f

java -Djava.security.properties=myProperties

如何在 JNLP 文件中设置此参数?

How can I set this parameter in a JNLP file?

推荐答案

您可以使用此标签设置的 JNLP 文件中的属性:

Properties in JNLP file you can set using this tag:

<property name="key" value="overwritten"/>

但是您不能在 JNLP 中设置 java.security.properties.并非所有属性都允许在 jnlp 中设置.有关详细信息,请参阅此处.

But you can't set java.security.properties in JNLP. Not all properties are allowed to set in jnlp. For more info see here.

为什么需要更改此属性?

Why do you need to change this property?

这篇关于JNLP 中的 java.security.properties的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆