[ejabberd] Intercepting authentication packets
williamkey at gmail.com
Thu Nov 18 23:21:03 MSK 2010
2010/11/18 Boris Okner <boris.okner at gmail.com>
> Brief implementation plan: You can parse email within your module that
> implements your custom SASL mechanism, similar to what cyrsasl_plain does;
> register your SASL module, then just encode the username based on the email
> to your liking and create a property list following cyrsasl_plain code. The
> auth module code that you attach to your mechanism will work with "encoded"
> That's the general idea, hopefully you will be able to work out details.
Good call. I'll create another SASL mechanism that supports proxy
authorization so users can login using their e-mail address. The
mechanism will then authenticate and return their JID instead.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd