You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alex Johansson <al...@techlex.se> on 2002/02/06 10:14:30 UTC

jdbc realm

Hi I use tomcat 3.2 and wounder how 
I can set up jdbc realm for each tomcat application.
Eeach application use different databases.

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:  alex@techlex.se
> phone: 0708-29 26 01 


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>