Author: mgoulish
Date: Tue Dec  7 14:56:22 2010
New Revision: 1043073

URL: http://svn.apache.org/viewvc?rev=1043073&view=rev
Log:
Comment explaining the nodict flag.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp?rev=1043073&r1=1043072&r2=1043073&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp Tue Dec  7 
14:56:22 2010
@@ -294,6 +294,14 @@ void CyrusAuthenticator::init()
     secprops.property_names = 0;
     secprops.property_values = 0;
     secprops.security_flags = 0; /* or SASL_SEC_NOANONYMOUS etc as appropriate 
*/
+    /*
+     * The nodict flag restricts SASL authentication mechanisms 
+     * to those that are not susceptible to dictionary attacks.  
+     * They are:  
+     *   SRP
+     *   PASSDSS-3DES-1
+     *   EXTERNAL
+     */
     if (external.nodict) secprops.security_flags |= SASL_SEC_NODICTIONARY;    
     int result = sasl_setprop(sasl_conn, SASL_SEC_PROPS, &secprops);
     if (result != SASL_OK) {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to