dcsimg

How can I authenticate the user from a database?

John Thompson

[ I am using tomcat 3.2 & want to use form based authentication But to authenticate the user I want to connect to a database instead of tomcat-users.xml How can I do this? ]

There's an example for using oracle in server.xml - you're looking for the JDBCRealm bit.

Follow the instructions in the 3.2 documentation. http://jakarta.apache.org/tomcat/tomcat-3.2-doc/JDBCRealm.howto