aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-02-14 18:57:50 +0100
committerTobias Markmann <tm@ayena.de>2009-02-14 18:57:50 +0100
commit5affd107f0a6d62ff3be6c5aaa8548b4b2cce4ba (patch)
treebb02e38f93aeac6a7a49b00754eac5aaec215172 /plugins
parent66155f71aa3d5ebf312b7b699984d0be08f2fdd1 (diff)
downloadprosody-5affd107f0a6d62ff3be6c5aaa8548b4b2cce4ba.tar.gz
prosody-5affd107f0a6d62ff3be6c5aaa8548b4b2cce4ba.zip
Adding inital support for ANONYMOUS mechanism in SASL.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 7fec1f3f..ed19a150 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -106,6 +106,7 @@ module:add_event_hook("stream-features",
-- TODO: Provide PLAIN only if TLS is active, this is a SHOULD from the introduction of RFC 4616. This behavior could be overridden via configuration but will issuing a warning or so.
features:tag("mechanism"):text("PLAIN"):up();
features:tag("mechanism"):text("DIGEST-MD5"):up();
+ features:tag("mechanism"):text("ANONYMOUS"):up();
features:up();
else
features:tag("bind", bind_attr):tag("required"):up():up();