> Hi I use tomcat 3.2 and wounder how > 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:[EMAIL PROTECTED]] > Enviado el: miércoles 6 de febrero de 2002 10:15 > Para: [EMAIL PROTECTED] > Asunto: jdbc realm > > > > > Today it seems that you only can have one jdbc realm instance for > all the applications. > > In server.xml the syntax is for tomcat 3.2 > <RequestInterceptor > className="org.apache.tomcat.request.JDBCRealm" > debug="99" > driverName="org.gjt.mm.mysql.Driver" > connectionURL="jdbc:mysql://localhost/dbName" > userTable="person" userNameCol="email" > userCredCol="password" > userRoleTable="groupmember" > roleNameCol="RoleName" > /> > > > > Regards > Alex > > > > > > > __________________________________________________ > > Alex Johansson System Developer @ TechLex > > web: www.techlex.se > > mail: [EMAIL PROTECTED] > > phone: 0708-29 26 01 > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>