ActiveMQ 基于IP验证和授权插件的源码及jar
基于 IP 验证和授权插件的源码及jar,jar包可直接拷贝至activemq 目录下的 lib 目录下,打开activemq\conf\activemq.xml,在 broker 节点中加入: <plugins> <bean xmlns="http://www.springframework.org/schema/beans" id="ipAuthenticationPlugin" class="tewa.apache.activemq.security.IPAuthenticationPlugin"> <property name="allowedIPAddresses"> <list> <value>127.0.0.1</value> <value>192.168.168.1</value> </list> </property> </bean> </plugins> 后直接使用
3
223
2.31MB
2017-04-10
20