From ahardy.struts@cyberspaceroad.com Mon Aug 25 09:38:36 2003 Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 89854 invoked from network); 25 Aug 2003 09:38:36 -0000 Received: from moutng.kundenserver.de (212.227.126.184) by daedalus.apache.org with SMTP; 25 Aug 2003 09:38:36 -0000 Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19rDoB-0006fB-00 for tomcat-user@jakarta.apache.org; Mon, 25 Aug 2003 11:38:43 +0200 Received: from [217.228.252.158] (helo=cyberspaceroad.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19rDoB-0005LJ-00 for tomcat-user@jakarta.apache.org; Mon, 25 Aug 2003 11:38:43 +0200 Message-ID: <3F49D8AF.8080602@cyberspaceroad.com> Date: Mon, 25 Aug 2003 11:36:47 +0200 From: Adam Hardy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: trying to use manager/html app with o.a.catalina.realm.JAASRealm 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 I'm using org.apache.catalina.realm.JAASRealm for my authentication for my webapps, and I have got to the point where I want to use tomcat's manager and admin app. Unfortunately when I try to use JAASRealm for the manager, JAASCallBackHandler throws an exception because it hasn't been given the username and password. It is in fact throwing the exception before the user (i.e. me) has even hit the login button on the basic auth. login form. It looks like JAASRealm has just not been developed that far yet. Is this so? Secondly, how can I configure two realms so that manager can use the MemoryRealm and my apps can carry on using the JAASRealm? I can't work out from the docs what exactly I am meant to do. To try to run both realms, I tried this with no joy: Can anybody help? Thanks Adam -- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9