monika0691 / emite

Automatically exported from code.google.com/p/emite
0 stars 0 forks source link

Allow encoded password in login #281

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1471.

Original comment by danigb on 31 May 2010 at 1:00