anyone ?

Christian Andersson skrev:
Hi, we have setup Tomcat (6.0.10) to authenticate using form authentication against openldap (2.3.27) with the jndirealm and everything works alright except one little bit of a problem.

if the user name has national characters in it (åæø for norwegian) or the password does, the user cannot authenticate .-(

for example if our user has a password of "hælge" the user cannot log in, but if we change the password to "helge" he can log in.

all our html pages uses the utf-8 encoding, using slapcat and looking at the content the data inside openldap seems to be using utf-8 (the output from slapcat is at least utf-8,but I don't know if slapcat converts anything)

We are also administrating the users from within our application (using the standard javax.naming package) and from there we can search AND find users with user names that have øæå in them so we know that ldap and javax.naming can communicate and use national characters correctly..


looking at the logfile for ldap (when turning up the debug level) it almost looks like jndirealm is using iso-8859-1 as encoding since in the logfile all natinal characters comes out as garbage.

and as I said ALL pages in the system uses UTF-8 as encoding (including the login page)


can anyone give me a hint on where to look next, I've searched for an answer using google and in the mailinglist but either I'm nort searching for the right thing, or I just cannot find it..

/Christian Andersson



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to