summaryrefslogtreecommitdiff
path: root/src/ejabberd_auth_riak.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Add SQL_INSERT macro and update SQL queries to use server_host fieldAlexey Shchepin2017-11-021-3/+6
|
* Make it possible to convert to SQL for any current db_typeEvgeniy Khramtsov2017-10-251-3/+1
| | | | It is now possible to run `export` command even when the current `db_type` is not `sql`
* Use cache for authentication backendsEvgeniy Khramtsov2017-05-111-231/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit introduces the following API incompatibilities: In ejabberd_auth.erl: * dirty_get_registered_users/0 is renamed to get_users/0 * get_vh_registered_users/1 is renamed to get_users/1 * get_vh_registered_users/2 is renamed to get_users/2 * get_vh_registered_users_number/1 is renamed to count_users/1 * get_vh_registered_users_number/2 is renamed to count_users/2 In ejabberd_auth callbacks * plain_password_required/0 is replaced by plain_password_required/1 where the argument is a virtual host * store_type/0 is replaced by store_type/1 where the argument is a virtual host * set_password/3 is now an optional callback * remove_user/3 callback is no longer needed * remove_user/2 now should return `ok | {error, atom()}` * is_user_exists/2 now must only be implemented for backends with `external` store type * check_password/6 is no longer needed * check_password/4 now must only be implemented for backends with `external` store type * try_register/3 is now an optional callback and should return `ok | {error, atom()}` * dirty_get_registered_users/0 is no longer needed * get_vh_registered_users/1 is no longer needed * get_vh_registered_users/2 is renamed to get_users/2 * get_vh_registered_users_number/1 is no longer needed * get_vh_registered_users_number/2 is renamed to count_users/2 * get_password_s/2 is no longer needed * get_password/2 now must only be implemented for backends with `plain` or `scram` store type Additionally, the commit introduces two new callbacks: * use_cache/1 where the argument is a virtual host * cache_nodes/1 where the argument is a virtual host New options are also introduced: `auth_use_cache`, `auth_cache_missed`, `auth_cache_life_time` and `auth_cache_size`.
* Don't re-define validation functions in multiple placesEvgeniy Khramtsov2017-04-281-12/+2
|
* Improve Mnesia tables creation and transformationEvgeniy Khramtsov2017-04-231-2/+5
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-9/+9
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-9/+9
| | | | | Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated.
* Start/stop auth modules when host is added/deletedEvgeniy Khramtsov2017-02-231-1/+4
|
* Support scrammed passwords in ejabberdctl import_prosody (#1549)Badlop2017-02-201-1/+1
|
* Use ejabberd_config:get_option/2 instead of ejabberd_config:get_local_option/2Peter Lemenkov2017-02-161-1/+1
| | | | Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
* Apply SASLprep before storing/converting passwordsEvgeniy Khramtsov2017-02-121-7/+18
| | | | Fixes #996 and #1295
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Improve ODBC importChristophe Romain2016-11-221-6/+10
|
* Get rid of compile warnings for random/crypto modules on R19Evgeniy Khramtsov2016-10-181-1/+1
|
* Update more SQL queriesAlexey Shchepin2016-05-051-6/+7
|
* Rename odbc to sql everywhereEvgeniy Khramtsov2016-04-201-2/+2
|
* Merge commit 'refs/pull/524/head' of github.com:processone/ejabberd into ↵Evgeniy Khramtsov2016-03-251-8/+16
|\ | | | | | | sasl-api-change
| * Use SASL PLAIN authzid as client identity if auth module permits itBen Langfeld2015-05-061-35/+43
| | | | | | | | | | | | This allows the authentication modules to perform SASL proxy authentication. It puts the onus on them to authorize the authcid to masquerade as the authzid. Doesn't currently implement such functionality in existing auth modules, since they cannot currently codify a relationship between the two identities. Does not permit the authzid to use a domain differently from the one of the connection. Note: digest might not work, but I have no interest in it, being deprecated.
* | Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
| |
* | Move JID related functions to jid.erl (#847)Evgeniy Khramtsov2015-11-241-20/+20
|/
* Merge pull request #426 from hairyhum/masterbadlop2015-04-151-1/+4
|\ | | | | Migration of scram passwords with piefxis (riak and internal only)
| * Migration of scram passwords with piefxis (riak and internal only)Feotov Daniil2015-02-051-1/+4
| |
* | Update FSF addressBadlop2015-02-251-4/+3
|/
* Fix missing copyright dates to 2015 (EJAB-1733)Christophe Romain2015-01-211-1/+1
|
* Serialize records to proplists before storing then in RiakEvgeniy Khramtsov2014-07-141-8/+14
|
* Add SQL to Riak converterEvgeniy Khramtsov2014-07-101-1/+6
|
* Improve Riak supportEvgeniy Khramtsov2014-07-101-0/+285