On 1/27/11 11:01 AM, Ing. Etienne V. Depasquale wrote: > I beg pardon...I should have included the following extract from my > context.xml file (with placeholders for database, user and password): > > <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" > driverName="org.gjt.mm.mysql.Driver"
Are you really using such an old driver - I've got an internet archaeologist friend who'll want to look at this... What version of Tomcat/JVM do you have? > connectionURL="jdbc:mysql://localhost:3306/<databasename>?user=<username>&am > p;password=<userpassword>" > userTable="users" userNameCol="id" userCredCol="passwd" > userRoleTable="userroles" roleNameCol="role" digest="MD5" > digestEncoding="base64" /> > > > base64 is being rejected as a value for the digestEncoding attribute. That's not a valid value. The encoding, if I read the source correctly, should be UTF-8 or ISO-8859-1 or something similar. p > Cheers, > > Etienne > > > Good day, > > > > I am unable to identify valid values for the digestEncoding attribute to use > with the <Realm> tag of my app's context.xml file. > > > > I've inspected RealmBase.java and JDBCRealm.java, apart from some googling, > without finding anything suitable. > > > > Can anyone suggest a suitable reference? > > > > > > Cheers, > > > > Etienne > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature