Accessing non-class files from JAR when using a Security Manager

R

Rob

I have a web application in Tomcat 5, using j2sdk 1.4.2-03 that uses
the itext library from sourceforge for writing PDF files. The font
files for use in the PDF documents come from the itext JAR. When
running Tomcat 5 without a security manager it works ok, but when
using a security manager I get an error that says the font file cannot
be found.

If I use the AllPermissions permission in my catalina.policy (the
policy file for Tomcat) the font file is found - so what are the
actual Permissions I need to set to get it to work without having to
resort to AllPermissions?

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top