tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Rueth <ulrich.ru...@gmx.de>
Subject JAAS problem tomcat 4.0.1
Date Mon, 05 Nov 2001 19:14:52 GMT
Hi!
I'm using a Security Manager with tomcat 4.0.1. In the 
conf/catalina.policy file I added all the permissions. Everything works 
fine.
Furthermore I have a file webapps/myapp/my_policy.policy with user 
authentication. In tomcat 3.2.3 I called it setting
TOMCAT_OPTS=-Jjava.security.auth.policy==$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_OPTS=-Jjava.security.auth.policy==$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
Ulrich


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message