users@glassfish.java.net

Re: Problem with JAAS module encodong passwords

From: Fabrice BUQUET <fabrice.buquet_at_gmail.com>
Date: Wed, 21 Sep 2011 12:08:52 +0200

I found a "solution":

Force the encoding of the form to ISO-8859-1 with the html attribute
accept-charset of the form element....

Only the € charater still not working....

It seem that Glassfish only understand ISO encoding for a JASS module....

2011/9/21 Fabrice BUQUET <fabrice.buquet_at_gmail.com>

> Hi,
>
> I have developed a JAAS FORM login module for GF3.1 and I have a problem
> with the password field which is not well "encoded".
> I can not use "specials characters" in the password or login field. For
> example é or à or è are not well encoded.
> My login page use UTF-8 encoding: <meta content="text/html; Charset=UTF-8"
> http-equiv="Content-Type" />
> When I get back the password field in my custom login module (which extends
> AppservPasswordLoginModule), the é becomes a "é".
> Is there any option to specify the login module "encoding" ?? Or did I
> missed something ?
>
> Fabrice.
>
>
>
>
> --
> BUQUET Fabrice
>



-- 
BUQUET Fabrice