Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 47339 invoked from network); 6 Feb 2002 14:40:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Feb 2002 14:40:59 -0000 Received: (qmail 26847 invoked by uid 97); 6 Feb 2002 14:40:40 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 26807 invoked by uid 97); 6 Feb 2002 14:40:39 -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 26790 invoked from network); 6 Feb 2002 14:40:39 -0000 Message-ID: <80F5674514B4D311BAFC0040F6A45EEE223BE1@ntserver> From: "Ignacio J. Ortega" To: 'Tomcat Users List' Subject: RE: jdbc realm Date: Wed, 6 Feb 2002 15:38:45 +0100 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 use tomcat 3.2 and wounder how=20 > I can set up jdbc realm for each tomcat application. > Eeach application use different databases. you cant do this in 3.2.X, but in 3.3 and 4.0 you can define a = Different realm in every context, just by folding the JDBCRealm config line = inside a context elemnt ( at least in3.3 not sure about 4.0 but i will be more or less the same ) Saludos , Ignacio J. Ortega > -----Mensaje original----- > De: Alex Johansson [mailto:alex@techlex.se] > Enviado el: mi=E9rcoles 6 de febrero de 2002 10:15 > Para: tomcat-user@jakarta.apache.org > Asunto: jdbc realm >=20 >=20 >=20 >=20 > Today it seems that you only can have one jdbc realm instance for=20 > all the applications. >=20 > In server.xml the syntax is for tomcat 3.2 > className=3D"org.apache.tomcat.request.JDBCRealm"=20 > debug=3D"99"=20 > driverName=3D"org.gjt.mm.mysql.Driver"=20 > connectionURL=3D"jdbc:mysql://localhost/dbName"=20 > userTable=3D"person" userNameCol=3D"email"=20 > userCredCol=3D"password"=20 > userRoleTable=3D"groupmember"=20 > roleNameCol=3D"RoleName" > /> >=20 >=20 >=20 > Regards > Alex >=20 >=20 >=20 >=20 >=20 >=20 > __________________________________________________ > > Alex Johansson System Developer @ TechLex > > web: www.techlex.se > > mail: alex@techlex.se > > phone: 0708-29 26 01=20 >=20 >=20 > -- > To unsubscribe: > For additional commands: > Troubles with the list: >=20 >=20 -- To unsubscribe: For additional commands: Troubles with the list: