mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-4198 Include username in ConnectionInfo for ActiveMQ.Advisory.Connection messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415631 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3cf129a79f
commit
915d66dec5
|
@ -79,9 +79,8 @@ public class AdvisoryBroker extends BrokerFilter {
|
|||
super.addConnection(context, info);
|
||||
|
||||
ActiveMQTopic topic = AdvisorySupport.getConnectionAdvisoryTopic();
|
||||
//do not distribute usernames or passwords in advisory
|
||||
// do not distribute passwords in advisory messages. usernames okay
|
||||
ConnectionInfo copy = info.copy();
|
||||
copy.setUserName("");
|
||||
copy.setPassword("");
|
||||
fireAdvisory(context, topic, copy);
|
||||
connections.put(copy.getConnectionId(), copy);
|
||||
|
|
Loading…
Reference in New Issue