进入tomcat的app manager界面需要配置的tomcat-users.xml
2016-02-08 12:29
459 查看
<?xml version='1.0' encoding='utf-8'?>
<!--
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.
-->
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<role rolename="tomcat"/>
<role rolename="role1"/>
<role name="manager-gui"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user name="manager" password="admin" roles="manager-gui"/>
</tomcat-users>
账号 manager 密码 admin
<!--
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.
-->
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<role rolename="tomcat"/>
<role rolename="role1"/>
<role name="manager-gui"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user name="manager" password="admin" roles="manager-gui"/>
</tomcat-users>
账号 manager 密码 admin
相关文章推荐
- tomcat 服务开机自启动
- JAVA企业级应用TOMCAT实战 【转】
- tomcat与maven的安装与使用
- web应用性能测试-Tomcat 7 连接数和线程数配置
- 04-mac中的web环境搭建tomcat7不能进行配置Could not load the Tomcat server configuration
- 运行Tomcat/Weblogic发生OutOfMemoryError: PermGen space错误
- Tomcat 7.0安装与配置
- Tomcat【3】(Tomcat404)
- Tomcat【4】(tomcat在eclipse的配置)
- MyEclipse里运行Tomcat后,Console窗口里中文显示乱码
- Tomcat启动分析
- Java EE V7.0学习笔记:Tomcat, WebLogic, WAS 和WildFly性能比较
- 如何优化tomcat配置(从内存、并发、缓存4个方面)优化
- Tomcat7源码分析(一)容器整体架构
- Jetty和Tomcat的选择:按场景而定
- eclipse导入tomcat run as 没有server
- Tomcat结合Apache、Nginx实现高性能的web服务器
- 简易服务器搭建(get post方法)
- tomcat未安装指定服务
- Linux相关问题-CentOS6.5 x64版本号下Tomcat无法自启动的解决的方法