Switch to using a more generic credentials_callback/handler for SASL auth.
authornick@lupine.me.uk <nick@lupine.me.uk>
Fri, 24 Jul 2009 00:34:25 +0000 (01:34 +0100)
committernick@lupine.me.uk <nick@lupine.me.uk>
Fri, 24 Jul 2009 00:34:25 +0000 (01:34 +0100)
commit63fa3c3a07ca4b1725aa570e3a47e8f84dcceaac
tree6da4d4781594839098b250622980a009b7c32d0a
parentcc7b608d193237f87f070ca2a13409468e8b918b
Switch to using a more generic credentials_callback/handler for SASL auth.

Not all authentication mechanisms have the same requirements; it makes sense
to provide them only with the information they require (and for them to
depend on that) so that as many auth mechanisms as possible can be supported
with a variety of credentials-storing schemes. This commit patches that together
core/usermanager.lua
plugins/mod_saslauth.lua
util/sasl.lua