[JBoss-user] [Security & JAAS/JBoss] - Re: can username be UTF-8

2006-04-14 Thread spetratos
username has characters with codes U+0688, U+0434, U+0063.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937391#3937391

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937391


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: can username be UTF-8

2006-04-14 Thread spetratos
I'm having the same issue. Even thought my login jsp sets the encoding to 
utf-8, it seems that it is ignored. Therefore, any username with wide 
characters can't login. The only way I got this working was by adding a 
URIEncoding=utf-8 to the server.xml for Tomcat, and use  a "GET" versus a 
"POST".

When a user with username = "??c" tries to loggin, I see the following in the 
request (using ieHTTPHeaders) :
POST /zpm/j_security_check HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/vnd.ms-excel, 

application/vnd.ms-powerpoint, application/msword, 
application/x-shockwave-flash, */*
Referer: http://localhost:8080/zpm/pricelab_frameset.jsp
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FunWebProducts; 
SV1; .NET CLR 2.0.50727)
Host: localhost:8080
Content-Length: 44
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=229F4125F6F48356925F7F4BA46DFC0B

j_username=%DA%88%D0%B4c&j_password=password

You can see that the username is not what was entered.

This is using JBOSS 4.0.1 sp1.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937389#3937389

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937389


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user