ActiveMQ使用的是jetty服务器, 打开conf/jetty.xml文件,找到
<bean id="securityConstraint" class="org.eclipse.jetty.http.security.Constraint">
<property name="name" value="BASIC" />
<property name="roles" value="admin" />
<property name="authenticate" value="false" />
</bean>
将property name为authenticate的属性value="false" 改为"true",
控制台的登录用户名密码保存在conf/jetty-realm.properties文件中,内容如下:
## ---------------------------------------------------------------------------
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
# Defines users that can access the web (console, demo, etc.)
# username: password [,rolename ...]
admin: admin, admin
值得注意的是 用户名和密码的格式是
用户名 : 密码 ,角色名
分享到:
相关推荐
ActiveMQ队列消息过期时间设置和自动清除解决方案.docx
详细描述了ActiveMQ消息过期-时间设置和自动清除解决方案。
ActiveMQ开发实例-5,ActiveMQ运行包,已验证可直接使用,需配合ActiveMQ开发实例系列其他资源使用
Linux下ActiveMq的安装和配置文档、activemq的默认端口为:61616 默认用户名密码 admin/admin 如果要修改控制台的登录用户名密码,可以在conf/jetty-realm.properties文件中修改
SpringBoot快速玩转ActiveMQ消息队列,jdk8下的简要版介绍。
主要介绍了Spring Boot ActiveMQ如何设置访问密码,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
SpringBoot+ActiveMq+MQTT实现消息的发送和接收 后台消费者、生产者、消息发送接口、发送消息业务类等相关配置
php 以stomp 非线程安全 协议 实现 JMS 消息处理...下载以后,直接双击运行bin目录下的activemq.bat,在浏览器里访问:http://localhost:8161/admin,登录用户名和密码是:admin/admin,就可以看到后面的监控页面。
ActiveMQ简单入门示例,采用点对点的通信方式
用于ACtiveMq 配置插件配置使用,配置介绍等,适合初学者
ActiveMQ配置Mysql8为持久化方式所需Jar包
activemq activeMq笔记.docx
activeMQ的测试工具,用于发送和接收activeMQ消息,jar包形式的,安装完jdk之后用java -jar xxx.jar命令运行
ActiveMQ和HornetQ性能对比
linux下activemq安装包和配置文档
activemq-example ActiveMQ、Apollo、Spring Jms 整合示例。...默认的用户名密码为:admin/admin 具体可在activemq-5.10.0\conf\jetty-realm.properties文件中配置. 安装apollo 1. Installation 后
发布于2013-5-3ActiveMQ是目前较为流行的一款开源消息服务器。最近在项目开发中,需要为ActiveMQ开发...在ActiveMQ中,验证指通过访问者的用户名和密码实现用户身份的验证,授权指为消息目标(队列或主题)的读、写、
1.一个是admin,用来显示和管理所有的queue、topic、connection等等。 2.一个是demo,有一些使用jms和activemq的简单例子。 3.还有一个fileserver,用来支持通过activemq发送文件时的中转服务器。blob message时配置...