[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xmlblaster] applet security problem



Well, we're trying to avoid having to make users change browser policies so
that's not really an option.  Why does xmlBlaster need any system properties
or is this just a side-affect of using the "jutils" library?

> -----Original Message-----
> From:	Cyrille Giquello [SMTP:cyrille at ktaland.com]
> Sent:	Wednesday, April 23, 2003 4:18 PM
> To:	xmlblaster at server.xmlblaster.org
> Subject:	Re: [xmlblaster] applet security problem
> 
> Osterman, Forrest a écrit:
> 
> >Hi guys,
> >I am having a problem getting a simple applet example that connects to
> >xmlBlaster and subscribes to run. When I load it, I get the error below.
> >The stack trace below shows that system.getProperty() is being called
> which
> >I believe is not allowed due to applet security. Is there a way around
> this?
> >
> >java.security.AccessControlException: access denied 
> >(java.util.PropertyPermission property.verbose read)
> >
> >at
> >java.security.AccessControlContext.checkPermission(AccessControlContext.j
> ava
> >:270)
> >at
> java.security.AccessController.checkPermission(AccessController.java:401)
> >at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
> >at
> java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
> >at java.lang.System.getProperty(System.java:572)
> >at org.jutils.init.Property.checkArgs(Property.java:1229)
> >at org.jutils.init.Property.init(Property.java:405)
> >at org.jutils.init.Property.<init>(Property.java:217)
> >at org.xmlBlaster.util.Global.initProps(Global.java:592)
> >at org.xmlBlaster.util.Global.initProps(Global.java:577)
> >at org.xmlBlaster.util.Global.<init>(Global.java:183)
> >at
> com.ieminc.webpuff.service.MsgViewerApplet.init(MsgViewerApplet.java:62)
> >at sun.applet.AppletPanel.run(AppletPanel.java:348)
> >at java.lang.Thread.run(Thread.java:536)
> >
> Hello,
> 
> What is your Applet browser ?
> Did you look in its preferences to try to make security more permissive ?
> 
> Some Applet browsers does not permit reading system properties.
> 
> cyrille
>