You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Udo Benz <vz...@verizon.net> on 2003/02/17 18:11:54 UTC

authentication fails at first

Hi all
I am having a strange problem with authentication. If a user tries to 
login to the web site access is sometimes denied at first (this is not a 
mis-typed password).  Going back to the login page and typing the same 
username + password again works??
Did anyone have a similar problem?  Any help would be greatly appreciated.

I am using a Mysql table to authenticate users.

 <Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
             driverName="org.gjt.mm.mysql.Driver"
          connectionURL="jdbc:mysql://mysite/db"
          connectionName = "user"
          connectionPassword = "pass" digest="MD5"
              userTable="customer" userNameCol="userid" 
userCredCol="password"
          userRoleTable="user_roles" roleNameCol="role_name" />


Thanks
Udo



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org