From tomcat-user-return-895-qmlist-jakarta-archive-tomcat-user=jakarta.apache.org@jakarta.apache.org Mon Nov 05 19:14:51 2001 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 70281 invoked from network); 5 Nov 2001 19:14:51 -0000 Received: from unknown (HELO osaka.betaversion.org) (192.18.49.133) by daedalus.apache.org with SMTP; 5 Nov 2001 19:14:51 -0000 Received: (qmail 21446 invoked from network); 5 Nov 2001 19:17:17 -0000 Received: from nagoya.betaversion.org (192.18.49.131) by osaka.betaversion.org with SMTP; 5 Nov 2001 19:17:17 -0000 Received: (qmail 13280 invoked by uid 97); 5 Nov 2001 19:14:16 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 13264 invoked by uid 97); 5 Nov 2001 19:14:16 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 13241 invoked from network); 5 Nov 2001 19:14:15 -0000 Message-ID: <3BE6E52C.4050101@gmx.de> Date: Mon, 05 Nov 2001 20:14:52 +0100 From: Ulrich Rueth User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010923 X-Accept-Language: en-us MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: JAAS problem tomcat 4.0.1 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: For additional commands: Troubles with the list: