> 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:alex@techlex.se]
> Enviado el: miƩrcoles 6 de febrero de 2002 10:15
> Para: tomcat-user@jakarta.apache.org
> 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: alex@techlex.se
> > phone: 0708-29 26 01
>
>
> --
> To unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
--
To unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
|