From eb28ed5f12bee78a992d60daf52b0ce2943dbfda Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 9 Jul 2012 21:35:38 +0000 Subject: QPID-4118: HA does not work with authentication and authorization. - Updated test framework to use credentials - Updated BrokerReplicator to use HA identity to create configuration - Updated documentation with a HA security section. - Updated qpid-ha to take --sasl-mechanism git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1359412 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/ha/Backup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/ha/Backup.cpp') diff --git a/cpp/src/qpid/ha/Backup.cpp b/cpp/src/qpid/ha/Backup.cpp index bbdacb8aa9..8ffe411c91 100644 --- a/cpp/src/qpid/ha/Backup.cpp +++ b/cpp/src/qpid/ha/Backup.cpp @@ -72,7 +72,7 @@ Url Backup::removeSelf(const Url& brokers) const { void Backup::initialize(const Url& brokers) { if (brokers.empty()) throw Url::Invalid("HA broker URL is empty"); - QPID_LOG(info, logPrefix << "Initialized, broker URL: " << brokers); + QPID_LOG(info, logPrefix << "Connecting to cluster, broker URL: " << brokers); Url url = removeSelf(brokers); string protocol = url[0].protocol.empty() ? "tcp" : url[0].protocol; types::Uuid uuid(true); @@ -82,7 +82,7 @@ void Backup::initialize(const Url& brokers) { url[0].host, url[0].port, protocol, false, // durable settings.mechanism, settings.username, settings.password, - false); // amq.failover + true); // amq.failover { sys::Mutex::ScopedLock l(lock); link = result.first; -- cgit v1.2.1