summaryrefslogtreecommitdiff
path: root/src/ejabberd_auth.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Allow auth and pubsub plugin to use Elixir moduleChristophe Romain2017-10-311-2/+2
|
* Make it possible to convert to SQL for any current db_typeEvgeniy Khramtsov2017-10-251-4/+1
| | | | It is now possible to run `export` command even when the current `db_type` is not `sql`
* Fix missing validation from 633b68db1 (#1900)Christophe Romain2017-08-041-2/+2
|
* Deprecate misc:encode_base64/1 and misc:decode_base64/1Evgeniy Khramtsov2017-05-231-6/+6
|
* Rename is_user_exists -> user_existsEvgeniy Khramtsov2017-05-111-17/+17
|
* Use cache for authentication backendsEvgeniy Khramtsov2017-05-111-280/+582
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* Add type specs for Module:opt_type/1Evgeniy Khramtsov2017-05-081-0/+3
|
* Don't validate an option in ejabberd_config:get_option() functionsEvgeniy Khramtsov2017-04-291-5/+2
| | | | | | | | | | | | | The commit introduces the following changes: * Now there is no need to pass validating function in ejabberd_config:get_option() functions, because the configuration keeps already validated values. * New function ejabberd_config:get_option/1 is introduced * Function ejabberd_config:get_option/3 is deprecated. If the function is still called, the second argument (validating function) is simply ignored. * The second argument for ejabberd_config:get_option/2 is now a default value, not a validating function.
* Don't re-define validation functions in multiple placesEvgeniy Khramtsov2017-04-281-2/+11
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-2/+2
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-2/+2
| | | | | 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.
* Fix compilation on R17Paweł Chmielowski2017-02-271-3/+3
|
* Improve config reloading support by ejabberd_authEvgeniy Khramtsov2017-02-241-33/+55
|
* Improve startup procedureEvgeniy Khramtsov2017-02-241-3/+32
|
* Start/stop auth modules when host is added/deletedEvgeniy Khramtsov2017-02-231-12/+29
|
* Fix some dialyzer warningsEvgeniy Khramtsov2017-02-181-5/+9
|
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-2/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cyrsasl.erl src/ejabberd_c2s.erl src/ejabberd_cluster.erl src/ejabberd_frontend_socket.erl src/ejabberd_node_groups.erl src/ejabberd_router.erl src/mod_bosh.erl src/mod_ip_blacklist.erl src/mod_muc_mnesia.erl src/mod_offline.erl src/mod_proxy65_sm.erl
| * More refactoring on session managementEvgeniy Khramtsov2016-12-301-1/+1
| |
| * Add xmpp_stream_out behaviour and rewrite s2s/SM codeEvgeniy Khramtsov2016-12-281-1/+8
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|/
* Improve ODBC importChristophe Romain2016-11-221-10/+15
|
* Improve detection of databases supported by modules (#1092)Evgeniy Khramtsov2016-04-271-9/+3
|
* Get rid of "internal" DB type. This also fixes #1092Evgeniy Khramtsov2016-04-271-17/+14
|
* Rename odbc to sql everywhereEvgeniy Khramtsov2016-04-201-1/+1
|
* Merge commit 'refs/pull/524/head' of github.com:processone/ejabberd into ↵Evgeniy Khramtsov2016-03-251-20/+20
|\ | | | | | | sasl-api-change
| * Use SASL PLAIN authzid as client identity if auth module permits itBen Langfeld2015-05-061-21/+21
| | | | | | | | | | | | 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-4/+4
| |
* | cosmetic cleanupChristophe Romain2015-10-071-2/+3
| |
* | Add config validation at startupEvgeniy Khramtsov2015-06-011-1/+10
|/
* Update get_password_s description with SCRAM return valuesBadlop2015-04-151-2/+2
|
* Swap 'mnesia' and 'internal' types correctlyEvgeniy Khramtsov2015-03-301-1/+5
|
* The 'default_db' option should impact ejabberd_auth as wellEvgeniy Khramtsov2015-03-301-1/+1
|
* Try to fix more Dialyzer warningsBadlop2015-03-271-2/+2
|
* Fix unused vars warningTaufan Aditya2015-01-091-1/+1
|
* Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-1/+1
|
* Add SQL to Riak converterEvgeniy Khramtsov2014-07-101-0/+2
|
* improve error handling when sql calling with (empty|unknown) host.HAMANO Tsukasa2014-05-011-0/+3
| | | | see #191
* Merge pull request #146 from jamielinux/masterbadlop2014-04-111-4/+3
|\ | | | | Update FSF address
| * Update FSF addressJamie Nguyen2014-02-221-4/+3
| |
* | Update copyright dates to 2014 (EJAB-1679)Badlop2014-03-131-1/+1
|/
* Change configuration file format to YAMLEvgeniy Khramtsov2013-08-211-1/+1
|
* Add SQL to Mnesia converterEvgeniy Khramtsov2013-07-211-2/+10
|
* Switch to rebar build toolEvgeniy Khramtsov2013-06-131-0/+1
| | | | | | | | | | | | | | | | Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
* Accumulated patch to binarize and indent codeBadlop2013-03-141-234/+289
|
* Update copyright datesAlexey Shchepin2013-01-241-1/+1
|
* Update copyright datesAlexey Shchepin2012-02-231-1/+1
|
* ejabberd_auth:remove_user/2 always returns okEvgeniy Khramtsov2011-09-051-7/+4
|
* Fix and improve support for SCRAM auth method (EJAB-1196)Badlop2011-08-161-6/+9
|