tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject jdbc realm + form authenication setup
Date Mon, 29 Apr 2002 15:48:55 GMT

I have been unable to set up jdbc realm with form authenication method.  I
have the jsp, the server.xml and web.xml files configured but it doesn't
work - I am missing sometime but have not found a good resource to explain
exactly what this is.  Does anybody have an example/know of a good
resource?   Using Tomcat 4.0 and Sybase.

in server.xml
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="com.sybase.jdbc2.jdbc.SybDriver" digest="digest" connectionURL
="jdbc:sybase:Tds:server:port/db?user=user&amp;password=user" userTable="
userTable" userNameCol="nameTable" userCredCol="user_pswd" userRoleTable="
roles" roleNameCol="roleName"/>

in web.xml
     <!-- Define the context-relative URL(s) to be protected -->
     <!-- Anyone with one of the listed roles may access this area -->
  <realm-name>EBasic Authentication Area</realm-name>


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message