-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Itay,

On 12/4/2009 7:41 PM, itay sahar wrote:
> I'm using seam on tomcat 6.0.20 and encounter problem in my security module.
> 
> Basically, i try to add cookie with base64 encoding of the username which is
> email address.
> The encoding works and no exception is thrown. But when seam try adding the
> cookie an exception is thrown:

[snip]

> javax.servlet.ServletException: #{identity.login}:
> java.lang.IllegalArgumentException: Control character in cookie value,
> consider BASE64 encoding your value

It looks like you are using an EL expression that either cannot properly
be executed or is not allowed: "#{identity.login}" appears to be your
original code, and not the data you intended to encode.

Are you sure you are looking for the right problem? All the other
messages in this thread refer to "username" and "password" and yet the
error appears to be due to the above value, not the username and password.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkselOIACgkQ9CaO5/Lv0PBtogCeMhu89xqVh8s29FbH5Y0rJd6J
0EkAmwdeMPnlUHzHiPC+Dr2yxyHmHLOP
=9avA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to