Adding inital support for ANONYMOUS mechanism in SASL.

This commit is contained in:
Tobias Markmann 2009-02-14 18:57:50 +01:00
parent 66155f71aa
commit 5affd107f0
2 changed files with 13 additions and 1 deletions

View file

@ -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();