Hi Stefan,
Not sure your case is entirely analogous, but passing this along on the
outside chance.
A colleague encountered a similar problem using JAXB with Java WebStart.
He solved it with this technique:
There are a couple places where we read system properties to
get the name of a class. I have wrapped those 2 places in a
doPrivileged block, wrapped in a try/catch block. If a
AccessControlException is thrown I set the class name to the
default value passed to System.getProperty.
See
http://java.sun.com/j2se/1.4.1/docs/api/java/security/AccessController.html
for more info and caveats.
Regards,
--
Ed Mooney |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201 |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive |fruit flies like
781-442-0459 |Burlington, MA 01803 |a banana. Groucho
[ ... ]