9 Feb 18:21
[jira] [Created] (AMQ-3711) Credentials are not propagated correctly when passed through the ActiveMQConnectionFactory constructor in the CPP client API (However, it works correctly when passed through the createConnection method)
Credentials are not propagated correctly when passed through the ActiveMQConnectionFactory
constructor in the CPP client API (However, it works correctly when passed through the createConnection method)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: AMQ-3711
URL: https://issues.apache.org/jira/browse/AMQ-3711
Project: ActiveMQ
Issue Type: Bug
Components: CMS (C++ client)
Affects Versions: 5.5.1
Environment: RHEL4 on both client and server
I am using CMS v3.4.1
Reporter: Bhooshan Mogal
Priority: Minor
I tried to connect to the an ActiveMQ server using the C++ client API. However, when I pass the credentials
(username and password) only through the ActiveMQConnectionFactory constructor and not through the
createConnection method, the password is not shows up as null in the server logs.
So,
auto_ptr<ActiveMQConnectionFactory> connectionFactory(
new ActiveMQConnectionFactory( brokerURI, "username", "password" ) );
try{
connection = connectionFactory->createConnection();
connection->start();
} catch( CMSException& e ) {
e.printStackTrace();
throw e;
}
(Continue reading)
RSS Feed