users@glassfish.java.net

Re: UTF-8 in JDBC principal name?

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 Apr 2010 07:27:49 PDT

As I said, the problem occurs for [i]both[/i] usernames and passwords containing non-ASCII characters. If either contains non-ASCII characters, authentication fails.
(I could understand that MD5-encoding could be tricky with passwords, but not usernames, since I don't MD5-encode those).

I haven't (yet) tried to refactor my application to not store password MD5-encoded.
[Message sent by forum member 'tmpsa']

http://forums.java.net/jive/thread.jspa?messageID=398485