diff options
| author | Justin Ross <jross@apache.org> | 2013-09-26 18:19:17 +0000 |
|---|---|---|
| committer | Justin Ross <jross@apache.org> | 2013-09-26 18:19:17 +0000 |
| commit | e613a9fd4288ac4337dbdb8374af9830b8f601ab (patch) | |
| tree | 7505dd9626c1c30706d63e31201a5cf778ea1433 | |
| parent | 5b3a7ee2ddff893f240990506f8e73f734c3ccae (diff) | |
| download | qpid-python-e613a9fd4288ac4337dbdb8374af9830b8f601ab.tar.gz | |
QPID-5169: CRAM-MD5, not CRAM-MD; a patch from Ernie Allen
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526637 13f79535-47bb-0310-9956-ffa450edef68
15 files changed, 22 insertions, 22 deletions
diff --git a/qpid/cpp/src/tests/ping_broker b/qpid/cpp/src/tests/ping_broker index be99a6ef46..bdf48f3358 100755 --- a/qpid/cpp/src/tests/ping_broker +++ b/qpid/cpp/src/tests/ping_broker @@ -57,7 +57,7 @@ def OptionsAndArguments(argv): parser.add_option("-t", "--timeout", action="store", type="int", default=10, metavar="<secs>", help="Maximum time to wait for broker connection (in seconds)") parser.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", - help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") + help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") parser.add_option("--ssl-certificate", action="store", type="string", metavar="<cert>", help="Client SSL certificate (PEM Format)") parser.add_option("--ssl-key", action="store", type="string", metavar="<key>", help="Client SSL private key (PEM Format)") parser.add_option("--ssl-trustfile", action="store", type="string", metavar="<CA>", help="List of trusted CAs (PEM Format)") diff --git a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/ConnectionAudit.java b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/ConnectionAudit.java index 0ce903c38b..9912b2c228 100644 --- a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/ConnectionAudit.java +++ b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/ConnectionAudit.java @@ -76,7 +76,7 @@ import org.apache.qpid.qmf2.util.GetOpt; * -h, --help show this help message and exit * --sasl-mechanism=<mech> * SASL mechanism for authentication (e.g. EXTERNAL, - * ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL + * ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL * automatically picks the most secure available * mechanism - use this option to override. * --whitelist=<whitelist XML document> @@ -131,7 +131,7 @@ public final class ConnectionAudit implements QmfEventListener " -h, --help show this help message and exit\n" + " --sasl-mechanism=<mech>\n" + " SASL mechanism for authentication (e.g. EXTERNAL,\n" + - " ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL\n" + + " ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL\n" + " automatically picks the most secure available\n" + " mechanism - use this option to override.\n" + " --whitelist=<whitelist XML document>\n" + diff --git a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/ConnectionLogger.java b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/ConnectionLogger.java index 869d01f40c..6097c4a752 100644 --- a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/ConnectionLogger.java +++ b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/ConnectionLogger.java @@ -69,7 +69,7 @@ import org.apache.qpid.qmf2.util.GetOpt; * guest/guest@localhost * --sasl-mechanism=<mech> * SASL mechanism for authentication (e.g. EXTERNAL, - * ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL + * ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL * automatically picks the most secure available * mechanism - use this option to override. * </pre> @@ -91,7 +91,7 @@ public final class ConnectionLogger implements QmfEventListener " guest/guest@localhost\n" + " --sasl-mechanism=<mech>\n" + " SASL mechanism for authentication (e.g. EXTERNAL,\n" + - " ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL\n" + + " ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL\n" + " automatically picks the most secure available\n" + " mechanism - use this option to override.\n"; diff --git a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidConfig.java b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidConfig.java index 6c08c471d7..e4f44e5db5 100644 --- a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidConfig.java +++ b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidConfig.java @@ -120,7 +120,7 @@ import org.apache.qpid.qmf2.util.GetOpt; * seconds) * --sasl-mechanism=<mech> * SASL mechanism for authentication (e.g. EXTERNAL, - * ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL + * ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL * automatically picks the most secure available * mechanism - use this option to override. * @@ -258,7 +258,7 @@ public final class QpidConfig " seconds)\n" + " --sasl-mechanism=<mech>\n" + " SASL mechanism for authentication (e.g. EXTERNAL,\n" + - " ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL\n" + + " ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL\n" + " automatically picks the most secure available\n" + " mechanism - use this option to override.\n" + "\n" + diff --git a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidCtrl.java b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidCtrl.java index d35786cce4..0e945a7ed1 100644 --- a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidCtrl.java +++ b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidCtrl.java @@ -78,7 +78,7 @@ import org.apache.qpid.messaging.util.AddressParser; * (default qpidd) * --sasl-mechanism=<mech> * SASL mechanism for authentication (e.g. EXTERNAL, - * ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL + * ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL * automatically picks the most secure available * mechanism - use this option to override. * </pre> @@ -160,7 +160,7 @@ public final class QpidCtrl " (default qpidd)\n" + " --sasl-mechanism=<mech>\n" + " SASL mechanism for authentication (e.g. EXTERNAL,\n" + - " ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL\n" + + " ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL\n" + " automatically picks the most secure available\n" + " mechanism - use this option to override.\n"; diff --git a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidPrintEvents.java b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidPrintEvents.java index d5912344c7..52c8dcec27 100644 --- a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidPrintEvents.java +++ b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidPrintEvents.java @@ -66,7 +66,7 @@ import static org.apache.qpid.qmf2.common.WorkItem.WorkItemType.*; * --heartbeats Use heartbeats. * --sasl-mechanism=<mech> * SASL mechanism for authentication (e.g. EXTERNAL, - * ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL + * ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL * automatically picks the most secure available * mechanism - use this option to override. * </pre> @@ -99,7 +99,7 @@ public final class QpidPrintEvents implements QmfEventListener " --heartbeats Use heartbeats.\n" + " --sasl-mechanism=<mech>\n" + " SASL mechanism for authentication (e.g. EXTERNAL,\n" + - " ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL\n" + + " ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL\n" + " automatically picks the most secure available\n" + " mechanism - use this option to override.\n"; diff --git a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidQueueStats.java b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidQueueStats.java index 7558da0e28..1d6f1d1bf5 100644 --- a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidQueueStats.java +++ b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QpidQueueStats.java @@ -74,7 +74,7 @@ import org.apache.qpid.qmf2.util.GetOpt; * accepted) to show * --sasl-mechanism=<mech> * SASL mechanism for authentication (e.g. EXTERNAL, - * ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL + * ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL * automatically picks the most secure available * mechanism - use this option to override. * </pre> @@ -125,7 +125,7 @@ public final class QpidQueueStats implements QmfEventListener " accepted) to show\n" + " --sasl-mechanism=<mech>\n" + " SASL mechanism for authentication (e.g. EXTERNAL,\n" + - " ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL\n" + + " ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL\n" + " automatically picks the most secure available\n" + " mechanism - use this option to override.\n"; diff --git a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QueueFuse.java b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QueueFuse.java index 324b9bd1b5..f60dbbf4f3 100644 --- a/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QueueFuse.java +++ b/qpid/tools/src/java/src/main/java/org/apache/qpid/qmf2/tools/QueueFuse.java @@ -106,7 +106,7 @@ import org.apache.qpid.qmf2.util.GetOpt; * N.B. if this gets set too low the fuse may not blow.\n" + * --sasl-mechanism=<mech> * SASL mechanism for authentication (e.g. EXTERNAL, - * ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL + * ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL * automatically picks the most secure available * mechanism - use this option to override. * </pre> @@ -149,7 +149,7 @@ public final class QueueFuse implements QmfEventListener " N.B. if this gets set too low the fuse may not blow.\n" + " --sasl-mechanism=<mech>\n" + " SASL mechanism for authentication (e.g. EXTERNAL,\n" + - " ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL\n" + + " ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL\n" + " automatically picks the most secure available\n" + " mechanism - use this option to override.\n"; diff --git a/qpid/tools/src/py/qpid-config b/qpid/tools/src/py/qpid-config index 44ad9fc258..0cc4319a73 100755 --- a/qpid/tools/src/py/qpid-config +++ b/qpid/tools/src/py/qpid-config @@ -174,7 +174,7 @@ def OptionsAndArguments(argv): group1.add_option("-r", "--recursive", action="store_true", help="Show bindings in queue or exchange list") group1.add_option("-b", "--broker", action="store", type="string", metavar="<address>", help="Address of qpidd broker with syntax: [username/password@] hostname | ip-address [:<port>]") group1.add_option("-a", "--broker-addr", action="store", type="string", metavar="<address>") - group1.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") + group1.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") group1.add_option("--ssl-certificate", action="store", type="string", metavar="<cert>", help="Client SSL certificate (PEM Format)") group1.add_option("--ssl-key", action="store", type="string", metavar="<key>", help="Client SSL private key (PEM Format)") group1.add_option("--ha-admin", action="store_true", help="Allow connection to a HA backup broker.") diff --git a/qpid/tools/src/py/qpid-ha b/qpid/tools/src/py/qpid-ha index 26029187a3..cf054409d8 100755 --- a/qpid/tools/src/py/qpid-ha +++ b/qpid/tools/src/py/qpid-ha @@ -48,7 +48,7 @@ class Command: usage="%s [options] %s\n\n%s"%(name, " ".join(arg_names), help) self.help = help self.op=optparse.OptionParser(usage) - self.op.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") + self.op.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") self.op.add_option("--ssl-certificate", action="store", type="string", metavar="<cert>", help="Client SSL certificate (PEM Format)") self.op.add_option("--ssl-key", action="store", type="string", metavar="<key>", help="Client SSL private key (PEM Format)") self.op.add_option("-b", "--broker", action="store", type="string", default="localhost:5672", metavar="<address>", help="Address of qpidd broker with syntax: [username/password@] hostname | ip-address [:<port>]") diff --git a/qpid/tools/src/py/qpid-printevents b/qpid/tools/src/py/qpid-printevents index 71b5854f03..1d123fd345 100755 --- a/qpid/tools/src/py/qpid-printevents +++ b/qpid/tools/src/py/qpid-printevents @@ -131,7 +131,7 @@ $ %prog guest/guest@broker-host:10000 def main(argv=None): p = optparse.OptionParser(usage=_usage, description=_description, formatter=JHelpFormatter()) p.add_option("--heartbeats", action="store_true", default=False, help="Use heartbeats.") - p.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") + p.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") p.add_option("--ssl-certificate", action="store", type="string", metavar="<cert>", help="Client SSL certificate (PEM Format)") p.add_option("--ssl-key", action="store", type="string", metavar="<key>", help="Client SSL private key (PEM Format)") p.add_option("--ha-admin", action="store_true", help="Allow connection to a HA backup broker.") diff --git a/qpid/tools/src/py/qpid-queue-stats b/qpid/tools/src/py/qpid-queue-stats index 5c5f60a816..9d7d8d9bbf 100755 --- a/qpid/tools/src/py/qpid-queue-stats +++ b/qpid/tools/src/py/qpid-queue-stats @@ -125,7 +125,7 @@ def main(argv=None): p = optparse.OptionParser() p.add_option('--broker-address','-a', default='localhost' , help='broker-addr is in the form: [username/password@] hostname | ip-address [:<port>] \n ex: localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost') p.add_option('--filter','-f' ,default=None ,help='a list of comma separated queue names (regex are accepted) to show') - p.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") + p.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") p.add_option("--ssl-certificate", action="store", type="string", metavar="<cert>", help="Client SSL certificate (PEM Format)") p.add_option("--ssl-key", action="store", type="string", metavar="<key>", help="Client SSL private key (PEM Format)") diff --git a/qpid/tools/src/py/qpid-route b/qpid/tools/src/py/qpid-route index 1d688de52c..21e5461664 100755 --- a/qpid/tools/src/py/qpid-route +++ b/qpid/tools/src/py/qpid-route @@ -98,7 +98,7 @@ def OptionsAndArguments(argv): help="Maximum number of messages a sender can have outstanding (0=unlimited)") parser.add_option("-t", "--transport", action="store", type="string", default="tcp", metavar="<transport>", help="Transport to use for links, defaults to tcp") - parser.add_option("--client-sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). Used when the client connects to the destination broker (not for authentication between the source and destination brokers - that is specified using the [mechanisms] argument to 'add route'). SASL automatically picks the most secure available mechanism - use this option to override.") + parser.add_option("--client-sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). Used when the client connects to the destination broker (not for authentication between the source and destination brokers - that is specified using the [mechanisms] argument to 'add route'). SASL automatically picks the most secure available mechanism - use this option to override.") parser.add_option("--ssl-certificate", action="store", type="string", metavar="<cert>", help="Client SSL certificate (PEM Format)") parser.add_option("--ssl-key", action="store", type="string", metavar="<key>", help="Client SSL private key (PEM Format)") parser.add_option("--ha-admin", action="store_true", help="Allow connection to a HA backup broker.") diff --git a/qpid/tools/src/py/qpid-stat b/qpid/tools/src/py/qpid-stat index 00227a98b9..d3c2820743 100755 --- a/qpid/tools/src/py/qpid-stat +++ b/qpid/tools/src/py/qpid-stat @@ -69,7 +69,7 @@ def OptionsAndArguments(argv): group1.add_option("-t", "--timeout", action="store", type="int", default=10, metavar="<secs>", help="Maximum time to wait for broker connection (in seconds)") group1.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", - help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") + help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") group1.add_option("--ssl-certificate", action="store", type="string", metavar="<cert>", help="Client SSL certificate (PEM Format)") group1.add_option("--ssl-key", action="store", type="string", metavar="<key>", help="Client SSL private key (PEM Format)") group1.add_option("--ha-admin", action="store_true", help="Allow connection to a HA backup broker.") diff --git a/qpid/tools/src/py/qpid-tool b/qpid/tools/src/py/qpid-tool index 2ccfa58730..efc219c6c6 100755 --- a/qpid/tools/src/py/qpid-tool +++ b/qpid/tools/src/py/qpid-tool @@ -711,7 +711,7 @@ def parse_options( argv ): parser = optparse.OptionParser(usage=_usage) parser.add_option("-b", "--broker", action="store", type="string", metavar="<address>", help="Address of qpidd broker with syntax: [username/password@] hostname | ip-address [:<port>]") - parser.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") + parser.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.") parser.add_option("--ssl-certificate", action="store", type="string", metavar="<path>", help="SSL certificate for client authentication") |
