1. The problem
Currently the only way to login a xmpp session is using the login method with
the plain
password provided. Sometimes this behaviour is not desirable.
The problem is bigger when using html meta annotations because the plain
password is
provided, and thats not desireable.
2. The solution
The idea is to allow multiple password encoding methods (extensible) so each
solution can
use different encode/encriptation methods. To archive this a new login method
will be
provided using a new Credentials object.
The new credentials object will have a user jid, a (optionally
encoded/encripted) password
literal and a string with the condification method.
New password decorers could be added to some registry in order to implement
different
encoding strategies.
3. Side effects
The meta html annotations could be implemented using different encoding
mechanisms.
The re-connect module could store the new Credentials object to re-login when
necessary.
Original issue reported on code.google.com by danigb on 30 May 2010 at 11:35
Original issue reported on code.google.com by
danigb
on 30 May 2010 at 11:35