读书人

ActiveMQ5.5保险配置

发布时间: 2013-01-17 10:28:54 作者: rapoo

ActiveMQ5.5安全配置
JMS服务安全配置(生产者和消息者连接时认证)


简单授权方式

在conf/activemq.xml文件中加入以下内容即可(如配置了systemUsage,应该放到systemUsage前):

<plugins><!-- Configure authentication; Username, passwords and groups --><simpleAuthenticationPlugin><users>        <authenticationUser username="system" password="${activemq.password}"   groups="users,admins"/><authenticationUser username="user" password="${guest.password}"  groups="users"/><authenticationUser username="guest" password="${guest.password}" groups="guests"/></users></simpleAuthenticationPlugin></plugins>


以上占位引用可在conf/credential.properties中配置

读书人网 >开源软件

热点推荐