Commit graph

150 commits

Author SHA1 Message Date
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Matthew Wild
073282787b mod_saslauth, mod_compression: Fix some cases where open_stream() was not being passed to/from (see df3c78221f26 and issue #338) 2013-04-29 10:43:44 +01:00
Matthew Wild
339e74b1b9 s2smanager, mod_s2s, mod_dialback, mod_saslauth: Move s2smanager.make_authenticated() to mod_s2s, and plugins now signal authentication via the s2s-authenticated event 2013-03-22 14:18:23 +00:00
Kim Alvefur
ee9ef878c4 mod_s2s, mod_saslauth, mod_compression: Refactor to have common code for opening streams 2013-03-16 17:46:43 +01:00
Matthew Wild
02dc79e546 mod_saslauth: Pass session to usermanager.get_sasl_handler() 2012-07-04 23:44:13 +01:00
Matthew Wild
ddf88f4b38 mod_saslauth: Remove unused declaration of xmlns_stanzas 2012-04-28 03:05:35 +01:00
Kim Alvefur
621f44b146 mod_saslauth: Remove useless import of, and call to nodeprep. 2012-02-12 15:14:35 +01:00
Kim Alvefur
807c896ee6 mod_saslauth: Fire authentication-failure if make_authenticated() failed. 2012-02-12 15:08:12 +01:00
Kim Alvefur
6eaa0d2b86 mod_saslauth: Move authentication-success event to after session has been made authenticated. 2012-02-12 15:05:31 +01:00
Paul Aurich
03efdf7669 mod_saslauth: "" ~= nil (thanks, Zash!) 2012-01-24 14:57:53 -08:00
Waqas Hussain
afd972f05b mod_saslauth: Never send empty <mechanisms/>, for real this time. 2011-10-13 00:24:09 +05:00
Waqas Hussain
90a5f85bf3 mod_saslauth: Never send empty <mechanisms/>. 2011-10-13 00:10:02 +05:00
Matthew Wild
8114fdc49e mod_saslauth: Fire authentication-success and authentication-failure events (thanks scitor) 2011-08-29 12:01:42 -04:00
Waqas Hussain
1a6f60183c mod_saslauth: Remove special handling for SASL ANONYMOUS, and let mod_auth_anonymous handle it. 2010-12-28 05:28:15 +05:00
Waqas Hussain
aa144af70e util.sasl.*, mod_auth_*, mod_saslauth: Pass SASL handler as first parameter to SASL profile callbacks. 2010-12-27 19:57:04 +05:00
Matthew Wild
e9fff01f56 mod_saslauth: Handle session bind requests to the host, fixes OneTeam login 2010-12-24 18:54:54 +00:00
Kim Alvefur
49298b499e core.s2smanager, mod_console, mod_saslauth, util.certverification: rename util.certverification to util.x509 2010-12-12 02:03:32 +01:00
Paul Aurich
ef8bc026b4 s2s: SASL EXTERNAL 2010-11-21 21:10:43 -08:00
Waqas Hussain
5f992383c5 mod_saslauth: Allow restarting SASL negotiation from scratch. 2010-11-02 22:23:07 +05:00
Waqas Hussain
f5e1cfc3b6 mod_saslauth: Separated processing of <auth/> and <response/> elements, and return proper error on out-of-order <response/> elements. 2010-11-02 22:05:19 +05:00
Waqas Hussain
3b185b580e mod_saslauth: Moved SASL mechanism selection and CDATA handling into separate functions. 2010-11-02 21:19:50 +05:00
Waqas Hussain
42756c02be mod_saslauth: Handle SASL <abort/> properly. 2010-11-02 15:07:25 +05:00
Waqas Hussain
747e485a9d mod_saslauth: Updated to use the new events API. 2010-10-16 07:18:01 +05:00
Waqas Hussain
159b5aed6f mod_saslauth: Improved logging a bit. 2010-10-16 05:16:45 +05:00
Waqas Hussain
2e66b95ef0 mod_saslauth: Updated to use the new events API. 2010-10-16 05:03:00 +05:00
Waqas Hussain
373662e4a6 mod_saslauth, mod_auth_cyrus, util.sasl_cyrus: Moved cyrus account provisioning check out of mod_saslauth. 2010-08-23 16:54:56 +05:00
Waqas Hussain
5207cd874e mod_saslauth: Get rid of the sasl_backend option (use auth modules instead). 2010-08-23 16:28:06 +05:00
Waqas Hussain
f17ecb66bc mod_saslauth: Get rid of most Cyrus SASL related code (use authentication='cyrus' instead). 2010-08-23 16:22:58 +05:00
Waqas Hussain
29db7ce7a6 mod_saslauth: Fixed a nil global access. 2010-07-31 15:16:15 +05:00
Waqas Hussain
0479f87585 mod_saslauth: Check for unencrypted PLAIN auth in mod_saslauth instead of the SASL handler (makes it work for Cyrus SASL). 2010-07-31 13:55:46 +05:00
Waqas Hussain
f1fed4a75d mod_saslauth: Move mandatory encryption enforcement to before sasl_handler:select(). 2010-07-31 13:49:22 +05:00
Waqas Hussain
143af24d62 mod_saslauth: Got rid of undocumented and useless 'sasl_realm' config option (was only used for anonymous auth, and that didn't make sense). 2010-07-18 17:50:38 +05:00
Waqas Hussain
5be7de51a6 mod_saslauth: Cleaned up unused requires. 2010-07-17 19:02:56 +05:00
Waqas Hussain
616d8ecbb0 mod_saslauth: A little cleanup for anonymous_login. 2010-07-17 18:58:25 +05:00
Waqas Hussain
fa595a9dd3 SASL: Simplified sasl_handler:mechanisms() to return a set, and not an array. 2010-07-14 19:56:57 +05:00
Matthew Wild
0dbf22f2ba mod_saslauth: Rename variable 'aret' to 'ok' as per convention 2010-07-12 16:44:56 +01:00
Matthew Wild
06982adcd2 Merge 0.7->trunk 2010-06-12 02:39:18 +01:00
Waqas Hussain
bb5877bcfa mod_saslauth: Return proper error on invalid usernames. 2010-06-11 21:01:17 +05:00
Waqas Hussain
9e6d86c402 mod_saslauth: Updated to use usermanager.get_sasl_handler. 2010-06-07 02:40:14 +05:00
Matthew Wild
396e106183 mod_saslauth: Fix log level 2010-06-04 13:55:39 +01:00
Jeff Mitchell
79df72e1a6 Correct out of order logic in mod_hashpassauth
Make saslauth check the existence of the get_password and test_password functions to determine which authentication profile to use.
2010-05-28 14:47:32 -04:00
Jeff Mitchell
990ed0f0b3 Check in mod_hashpassauth -- works! 2010-05-26 18:16:58 -04:00
Matthew Wild
58ceb41a94 mod_saslauth: Split out cyrus SASL config options into locals, and add support for cyrus_application_name (default: 'prosody') 2010-05-20 11:51:55 +01:00
Matthew Wild
9df44146a6 usermanager, mod_saslauth: Make account provisioning for Cyrus SASL optional (default: not required) 2010-05-20 11:32:24 +01:00
Matthew Wild
06fe337d67 mod_saslauth: Add return value and error message to the Cyrus SASL handle_status callback 2010-05-20 11:08:51 +01:00
Matthew Wild
e0c6bb2b56 mod_saslauth: Allow the Cyrus SASL realm to be configurable 2010-05-20 11:05:43 +01:00
Waqas Hussain
155c497847 mod_saslauth: Tidier code for SASL backend selection. 2010-03-23 20:17:46 +05:00
Waqas Hussain
e0f77c120d mod_saslauth: Fail with an error when the requested SASL backend cannot be used. 2010-03-23 20:11:39 +05:00
Matthew Wild
46c0b8c7f9 Merge 0.6->0.7 2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00