Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 44301 invoked from network); 4 Feb 2002 13:52:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Feb 2002 13:52:50 -0000 Received: (qmail 19738 invoked by uid 97); 4 Feb 2002 13:52:27 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 19722 invoked by uid 97); 4 Feb 2002 13:52:27 -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 19711 invoked from network); 4 Feb 2002 13:52:26 -0000 Message-ID: <764CA2FF49EC054BA086FC8253A52DD70627C98B@merc09.na.sas.com> From: Larry Isaacs To: 'Tomcat Users List' Subject: RE: Custom Auth for JDBC Realm server xml help 3.3-m4 Date: Mon, 4 Feb 2002 08:52:20 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Using an entry in Tomcat 3.3's server.xml like implies there is a module mapping for this in the modules.xml or a modules-*.xml file. Something like: You don't mention adding this, so I assume you haven't. Unfortunately, if this mapping is missing, Tomcat 3.3 silently ignores your entry in server.xml. Cheers, Larry > -----Original Message----- > From: lonp@bellsouth.net [mailto:lonp@bellsouth.net] > Sent: Friday, February 01, 2002 5:21 PM > To: tomcat-user@jakarta.apache.org > Subject: Custom Auth for JDBC Realm server xml help 3.3-m4 > > > Hello All, > > How do I direct Tomcat via the server.xml file to use a > custom class for > JDBC auth with Tomcat 3.3-m4? Do I need to switch to 4.0 to > use a custom > auth class? I understand that in 4.0 it is easy to set the class=.../> entry but 4.0 has a bug that I want to avoid for now. > > I've created a custom class called TMSJDBCRealm which extends > BaseRealm and > placed it into the tomcat_modules.jar. > > I then tried to add the entry just after the > entry but Tomcat does not appear > to be calling my > class. When I go to a protected url I do get the basic login box but > entering a user name and password avail nothing. I also look > for my debug > info to scroll past on the server and nothing is there. > > Any help is greatly appreciated. > > Thanks > > Lon Palmer > > > > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > -- To unsubscribe: For additional commands: Troubles with the list: