tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Rueth <>
Subject JAAS problem tomcat 4.0.1
Date Mon, 05 Nov 2001 19:14:52 GMT
I'm using a Security Manager with tomcat 4.0.1. In the 
conf/catalina.policy file I added all the permissions. Everything works 
Furthermore I have a file webapps/myapp/my_policy.policy with user 
authentication. In tomcat 3.2.3 I called it setting$TOMCAT_HOME/webapps/myapp/my_policy.policy
and adding the "PolicyInterceptor" element in the server.xml. 
Furthermore I have a library authentication/priviledged.jar in my 
classpath where the priviledged.class is found.

My problem:
In Tomcat 4.0.1 I also set$CATALINA_BASE/webapps/myapp/my_policy.policy
but my_policy.policy is NEVER used. I can even delete it or add stupid 
errors, it is not used!

My questions:
- Am I right saying that I don't have to edit anything in the server.xml 
file like I hade to in Tomcat 3.2.3 by adding the PolicyInterceptor 
element (this was for JDK 1.1.*, wasn't it?)
- What do I have to do that Tomcat 4.0.1 uses my_policy.policy?

Thank you

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message