thepug / Mod-Http-Pre-Bind

An ejabberd module that pre binds an anonymous sasl session, returning the authenticated session.
http://code.stanziq.com
Other
47 stars 17 forks source link

Realuser support #2

Open skinkie opened 12 years ago

skinkie commented 12 years ago

One of the comments in the source code is to support 'realusers'. What should be implemented to support them. In terms of complexity, is this difficult?

skinkie commented 12 years ago

Maybe you could merge the forked branch as well?

https://github.com/loe/Mod-Http-Pre-Bind/network

thepug commented 12 years ago

You would have to have change this module to accept a username and some kind of authentication token. The token and username can then be validated by your system. You can use ejabberd for this authentication or use http to make a call to a web service.