Merge with 0.4
[prosody.git] / util / sasl.lua
index 2af60acda1acbd034d1c9b49c3e051862b7564f4..2740b4273359ee34137941ab1765614e87d6568f 100644 (file)
@@ -1,4 +1,4 @@
--- sasl.lua v0.3
+-- sasl.lua v0.4
 -- Copyright (C) 2008-2009 Tobias Markmann
 -- 
 --    All rights reserved.
@@ -240,6 +240,7 @@ local function new_anonymous(realm, password_handler)
                function object.feed(self, message)
                        return "success"
                end
+       --TODO: From XEP-0175 "It is RECOMMENDED for the node identifier to be a UUID as specified in RFC 4122 [5]." So util.uuid() should (or have an option to) behave as specified in RFC 4122.
        object["username"] = generate_uuid()
        return object
 end