changeset 66:fa184759fc41

Adds references to ANONYMOUS/DIGEST-MD5/PLAIN plugins.
author Sonny Piers <sonny.piers@gmail.com>
date Wed, 01 Feb 2012 21:52:10 +0100
parents 2e8fbf3bce7f
children 1c8f326fe3ef
files plugins/ANONYMOUS.js plugins/DIGEST-MD5.js plugins/PLAIN.js
diffstat 3 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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) {
--- 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) {
--- 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) {