java.security.AccessControlException: access denied
(java.util.PropertyPermission java.vendor read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at SCLS.testing(SCLS.java)
at java.lang.reflect.Method.invoke(Native Method)
at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(Unknown
Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
java.security.PrivilegedActionException:
java.lang.reflect.InvocationTargetException: java.lang.RuntimeException:
java.security.AccessControlException: access denied
(java.util.PropertyPermission java.vendor read)
at SCLS.testing2(SCLS.java)
at java.lang.reflect.Method.invoke(Native Method)
at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(Unknown
Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
> I got a applet which access the java.vendor variable in two method, these two method is called by javascript.
> when I try to run it at netscape6, the following error appear. As java.vendor should not be a protected property, so I don't know why I will have such security error, please help.
I think there is a bug in LiveConnect: javascript doesn't have any
applet security so that all security checks fail. Wayde Wyatt noticed
that LiveConnect can't load images in applets either.
--Erik Hadden
nospam@nospam wrote:
> does this bug have a number in bugzilla so I can track it... I have the
> same problems with live connect.
>
> --Erik Hadden
>
>
60120
Clemens
--------------------------------------------------------------
Clemens Duepmeier, email: duep...@iai.fzk.de, Tel: +49 7247 825721
Institut fuer Angewandte Informatik, Forschungszentrum Karlsruhe
76021 Eggenstein/Leopoldshafen (Germany)