This patch implements authentication based on an external authinfo file (ala FTP).
Actually it just support a file. Future enhancements will likely add an authinfo-alist (in addition of a file).
Please review/comment/correct.
Patch made against CVS HEAD as of 2007-08-14.
jabber-core-add-authinfo-auth V2
Logged In: YES
user_id=597884
Originator: YES
Small fix of previous commit.
File Added: jabber-core-add-authinfo-auth.patch
Multiple accounts support
Logged In: YES
user_id=597884
Originator: YES
Ok, here is my first try to implement a jabber-account-list alist.
It adds support for multiple connections or one connection (given the account name).
Please try this.
File Added: jabber-connect.el
Logged In: YES
user_id=920364
Originator: NO
Thanks a lot, and sorry about the delay... I just committed a modified version of your patch. Let's see if this works...
If I understand correctly, only one of those two patches ever made it into emacs-jabber.
The other adds support for ~/.authinfo; Is there still a chance for inclusion?
Ah, you're right, I missed that part. And just the other day I was thinking that it would be nice if jabber.el would read authinfo files :)
I'd rather have it use the auth-source library than reading the authinfo file directly, though. I'll see if I can come up with a patch for that... (though feel free to beat me to it!)
Well, here it is:
http://emacs-jabber.git.sourceforge.net/git/gitweb.cgi?p=emacs-jabber/emacs-jabber;a=commitdiff;h=5c7d80f3aa92cc5a27e3fb553ca291173516b763
Works for me, at least.
Works like a charm, thanks :)