禁止在JNLP控制台中显示用户名和密码

时间:2013-06-28 06:14:48

标签: java jnlp java-web-start

从java 6.0安装java 7(1.7.21)后,我观察到在JNLP控制台(Java Web Start 10.21.2.11)中显示了一些属性,如用户名,密码和其他信息。在java 1.6中没有出现此问题。有人可以建议一个避免从JNLP控制台显示用户名和密码的解决方案吗?

堆栈追踪:

Java Web Start 10.21.2.11
Using JRE version 1.7.0_21-b11 Java HotSpot(TM) Client VM
User home directory = C:\Users\
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
CacheEntry[file://localhost/...sample.pl.jnlp]: updateAvailable=false,lastModified=Fri Jun 21 12:27:03 IST 2013,length=4696
    Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 1.4+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_21
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: 
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.21 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: false
    system is: true

    Match: ignoring maxHeap: -1
    Match: ignoring InitHeap: -1
    Match: digesting vmargs: null
    Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
    Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
    Match: digest LaunchDesc: file://localhost/D:/...sample.pl.jnlp
    Match: digest properties: **[-Djnlp.test.userName=username, -Djnlp.test.password=password, -Djnlp.test.defaultHost=....,** -Djnlp.test.userName=username-Djnlp.test.password=pwd-...

0 个答案:

没有答案