Glassfish JDBC Realm not working with Umlauts
My glassfish 3.1.2 server has a jdbc realm for authentication. I'm using sha-256 as digest algorithm and base64 as encoding for the password. I try to login with a simple swing client.
It works fine with normal characters, but it doesn't if the password contains german umlauts (eg ä,ö,ü,...).
As java uses UTF-16 for internal string encoding, I set the charset of the digest algorithm in the jdbc realm also to UTF-16 but it still doesn't work. Does anybody know why?
这是Glassfish 3中的一个已知错误...
链接地址: http://www.djcxy.com/p/22088.html上一篇: JDBC领域