[ActiveMQ]修改默认密码
来源:互联网 发布:多伦多大学gpa算法 编辑:程序博客网 时间:2024/06/05 16:25
ActiveMQ使用的是jetty服务器, 在ActiveMQ目录下的conf/jetty.xml文件,vim打开
<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”(现在的版本默认一般为true,然后默认账号密码都是admin),
控制台的登录用户名密码保存在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
设置的格式就是这样:
admin:admin, admin
用户名 : 密码 ,角色名
例如:
我要一个账号为master_admin,密码为123456的admin角色账号
master_admin:123456,admin
阅读全文
0 0
- [ActiveMQ]修改默认密码
- ActiveMQ默认用户名和密码
- ActiveMQ 默认用户名和密码
- Linux 下ActiveMQ修改密码
- 修改activemq账号密码Linux
- oracle修改默认密码
- 修改系统默认密码
- 修改热点默认密码
- geoserver默认密码修改
- mysql 修改默认密码
- geoserver修改默认密码
- 修改mysql默认密码
- 修改MySQL的默认密码
- 修改MySQL的默认密码
- 修改MySQL的默认密码
- tomcat默认用户名密码修改
- Ubuntu 修改 root 默认密码
- Ubuntu修改root默认密码
- js 中将string转化为double,避免产生多位数和计算精度损失。
- Struts2之自定义拦截器
- H和h每天输入的在意过吗
- 把字符按ascii码排序
- 软件调试笔记64
- [ActiveMQ]修改默认密码
- 关于单元测试
- Java并发编程:深入剖析ThreadLocal
- hive-行转列列转行
- css基础———简介、语法、引用方式
- oracle数据类型转换
- 线程
- Algorithm之路十二:Integer to Roman
- 第三章 RDD编程