tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Valid values for digestEncoding attribute?
Date Fri, 28 Jan 2011 08:39:37 GMT
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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


Mime
View raw message