portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Berger (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Updated: (JS2-555) Unable to use Unicode (UTF-8) in user names and passwords
Date Thu, 13 Jul 2006 12:15:30 GMT
     [ http://issues.apache.org/jira/browse/JS2-555?page=all ]

Thorsten Berger updated JS2-555:

    Attachment: 2nd_patch-utf8-in-username-password(js2-555)--Tomcat55.txt

Unfortunately, Tomcat 5.0 doesn't support setting the character encoding in the FormAuthenticator
Valve. So please forget the first patch. The 2nd now only supports Tomcat 5.5.
Fixing tomcat 5.x would require decoding the username/password Strings in the corresponding
callback handlers.

> Unable to use Unicode (UTF-8) in user names and passwords
> ---------------------------------------------------------
>          Key: JS2-555
>          URL: http://issues.apache.org/jira/browse/JS2-555
>      Project: Jetspeed 2
>         Type: Bug

>   Components: Security
>     Versions: 2.1-dev
>     Reporter: Thorsten Berger
>  Attachments: 2nd_patch-utf8-in-username-password(js2-555)--Tomcat55.txt, patch-utf8-in-username-password(js2-555).txt
> Currently, it's not possible to use utf-8 characters in usernames and passwords.
> In my case, some of our users reported problems with their passwords as they used some
very common german characters.
> I will attach a patch for Jetspeed2 on Tomcat 5.0 and 5.5. However, I could not verify
the behaviour with Tomcat 5.0. The patch is working fine with Tomcat 5.5.
> The patch solves the problem by:
> - setting UTF-8 as character encoding in LoginProxyServlet (let me know if you'd prefer
looking up the character encoding in the MediaType of the Agent's CapabilityMap)
> - setting UTF-8 as character encoding in tomcat's FormAuthenticator valve (configured
in jetspeed's context.xml)
> It would be great if this patch could find its way into the next 2.1 release ;)
> Regards, Thorsten

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message