【发布时间】:2015-01-25 07:02:00
【问题描述】:
我在 MacOSX Yosemite 上安装 ActiveMQ 5.10。 我可以更改文件 jetty-realm.properties 以限制在 localhost:8161 访问 Web 控制台。
但是,当我编写 Ruby 代码以使用 Stomp 连接到 ActiveMQ 时,如下所示:
require 'stomp'
client = Stomp::Client.new('any username', 'any password', 'localhost', 61613)
我可以使用客户端发布和订阅 ActiveMQ 服务器上的每个队列。
有人可以建议一种方法来限制远程连接对 ActiveMQ 服务器的访问。
我已经尝试了以下链接,但它们都不起作用: https://security.stackexchange.com/questions/7989/how-to-secure-a-activemq http://activemq.apache.org/version-5-getting-started.html#Version5GettingStarted-ConfiguringActiveMQ http://activemq.apache.org/security.html
【问题讨论】:
标签: security connection activemq restrict