handles authentication using plaintext password with plaintext passwords in xdb More...
#include "jsm.h"Functions | |
| void | mod_auth_plain (jsmi si) |
handles authentication using plaintext password with plaintext passwords in xdb
This module is responsible for handling authentication if the client uses legacy plaintext authentication. It stores and uses plaintext password in xdb. mod_auth_crypt.c is available as a replacement for mod_auth_plain.c, if only hash values of the password should be stored in xdb. But this means that many more advanced authentication methods won't work if you only store hashes.
Using plaintext password in xdb also will make it much more easy to convert your server to use SASL in the future.
| void mod_auth_plain | ( | jsmi | si | ) |
register this module in the session manager
will register the following callbacks in the session manager:
| si | the session manager instance |
References e_AUTH, e_DELETE, e_PASSWORDCHANGE, e_REGISTER, js_config(), js_mapi_register(), log_debug2, LOGT_INIT, register_config(), xmlnode_free(), and ZONE.
1.6.1