Women in Technology

Hear us Roar



Article:
  Using Tomcat 4 Security Realms
Subject:   Connection Realm Wrong in example
Date:   2003-08-14 13:24:28
From:   anonymous2
This is how the connection realm should be written. The realm is case-sensitive don't follow the examples use this.


<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost:3306/tomcatusers"
connectionName="root"
connectionPassword=""
userTable="users"
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles"
roleNameCol="role_name"/>