handle (non-SASL) authentication using plain text passwords on the wire but hashes in storage More...
#include "jsm.h"#include <unistd.h>Defines | |
| #define | HASH_CRYPT 1 |
| #define | HASH_SHA1 2 |
Functions | |
| void | mod_auth_crypt (jsmi si) |
handle (non-SASL) authentication using plain text passwords on the wire but hashes in storage
This is an alternative implementation for plain text password on the wire (the other is mod_auth_crypt.c). The advantage of this module is that there are no plaintext passwords in the xdb storage, the advantage of mod_auth_crypt.c and using plain text passwords in the storage is, that other authentication schemes using hashes on the wire can be used.
In general using mod_auth_crypt.c should be prefered. You will get into problems upgrading to harder authentication mechanisms if you use mod_auth_crypt.c.
| #define HASH_CRYPT 1 |
| #define HASH_SHA1 2 |
| void mod_auth_crypt | ( | jsmi | si | ) |
init the mod_auth_crypt module, register the callbacks with the Jabber session manager
| si | the jsmi_struct containing session manager instance-internal data |
References e_AUTH, e_DELETE, e_PASSWORDCHANGE, e_REGISTER, js_config(), js_mapi_register(), log_debug2, log_warn(), LOGT_INIT, register_config(), xmlnode_free(), and ZONE.
1.6.3