I have problem when having some special character,
like a & in a password.  In the client side code, the
AuthQuery is setup by

  Method    method = AuthQuery.PLAIN;
  Map       params = method.setupAuthParams(auth);
  params.put("password", password);
  method.setupAuth(auth, params);

if the password is something like test&, the packet
sent will have that password as
<password>test&amp;</password> being sent to the
server.

And on the server side, when I try to retrieve the
password using the method AuthQuery.getPassword(), it
give me 'test &' instead of 'test&'.

Does anyone has this problem, or know how to solve
that?

Thanks.




                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to