# HG changeset patch # User Sonny Piers # Date 1328129530 -3600 # Node ID fa184759fc41862677637f5042affef278de394d # Parent 2e8fbf3bce7f2913df39550a2faf4f0e0ec948a4 Adds references to ANONYMOUS/DIGEST-MD5/PLAIN plugins. diff --git a/plugins/ANONYMOUS.js b/plugins/ANONYMOUS.js --- a/plugins/ANONYMOUS.js +++ b/plugins/ANONYMOUS.js @@ -16,6 +16,18 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +/* +References: + Extensible Messaging and Presence Protocol (XMPP): Core - SASL Negotiation + http://xmpp.org/rfcs/rfc6120.html#sasl + Simple Authentication and Security Layer (SASL) + http://tools.ietf.org/html/rfc4422 + Anonymous Simple Authentication and Security Layer (SASL) Mechanism + http://tools.ietf.org/html/rfc4505 + Best Practices for Use of SASL ANONYMOUS + http://xmpp.org/extensions/xep-0175.html +*/ + Lightstring.plugins['ANONYMOUS'] = { handlers: { 'mechanisms': function (stanza) { diff --git a/plugins/DIGEST-MD5.js b/plugins/DIGEST-MD5.js --- a/plugins/DIGEST-MD5.js +++ b/plugins/DIGEST-MD5.js @@ -16,6 +16,18 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +/* +References: + Extensible Messaging and Presence Protocol (XMPP): Core - SASL Negotiation + http://xmpp.org/rfcs/rfc6120.html#sasl + Simple Authentication and Security Layer (SASL) + http://tools.ietf.org/html/rfc4422 + HTTP Authentication: Basic and Digest Access Authentication + http://tools.ietf.org/html/rfc2617 + Using Digest Authentication as a SASL Mechanism + http://tools.ietf.org/html/rfc2831 +*/ + Lightstring.plugins['DIGEST-MD5'] = { handlers: { 'mechanisms': function (stanza) { diff --git a/plugins/PLAIN.js b/plugins/PLAIN.js --- a/plugins/PLAIN.js +++ b/plugins/PLAIN.js @@ -16,6 +16,16 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +/* +References: + Extensible Messaging and Presence Protocol (XMPP): Core - SASL Negotiation + http://xmpp.org/rfcs/rfc6120.html#sasl + Simple Authentication and Security Layer (SASL) + http://tools.ietf.org/html/rfc4422 + The PLAIN Simple Authentication and Security Layer (SASL) Mechanism + http://tools.ietf.org/html/rfc4616 +*/ + Lightstring.plugins['PLAIN'] = { handlers: { 'mechanisms': function (stanza) {