tomcat-users.xml(tomcat 7)配置
来源:互联网 发布:win8优化驱动器要几遍 编辑:程序博客网 时间:2024/06/07 03:37
每次解压tomcat后,启动,登录<ip>://8080 后,进入tomcat首页,
点击
都会有权限不足的情况,修改配置如下:
<?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. It is
strongly recommended that you do NOT use one of the users in the commented out
section below since they are intended for use with the examples web
application.
-->
<!--
NOTE: The sample user and role entries below are intended for use with the
examples web application. They are wrapped in a comment and thus are ignored
when reading this file. If you wish to configure these users for use with the
examples web application, do not forget to remove the <!.. ..> that surrounds
them. You will also need to set the passwords to something appropriate.
-->
<!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
<user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
<user username="role1" password="<must-be-changed>" roles="role1"/>
-->
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="admin-gui"/>
<user username="tomcat" password="tomcat" roles="tomcat,manager-gui,admin-gui"/>
<user username="both" password="tomcat" roles="tomcat,role1,manager-gui,admin-gui"/>
<user username="role1" password="tomcat" roles="role1,manager-gui,admin-gui"/>
</tomcat-users>
- tomcat-users.xml(tomcat 7)配置
- tomcat-users.xml 配置
- 配置tomcat-users.xml
- tomcat-users.xml文件配置
- tomcat-users.xml文件配置
- Tomcat tomcat-users.xml 配置用户
- Tomcat里的tomcat-users.xml配置
- Tomcat 配置2 tomcat-users.xml
- Tomcat8配置tomcat-users.xml配置
- tomcat-users.xml配置Manager登陆用户
- tomcat-users.xml
- tomcat-users.xml
- tomcat-users.xml
- tomcat-users.xml
- tomcat-users.xml
- tomcat-users.xml配制
- Linux下tomcat-7.0.11中tomcat-users.xml配置
- 关于tomcat 中的 tomcat-users.xml 配置不生效原因
- ASP.NET Core Kestrel 中使用 HTTPS (SSL)
- SQL游标使用——格式、实例、嵌套
- Spring基础学习教程(spring的常用注解)-02
- Unity调用android7.0以上系统相机崩溃问题
- 程序员面试、算法研究、编程艺术、红黑树、数据挖掘5大系列集锦
- tomcat-users.xml(tomcat 7)配置
- 想在美国找CS软件工作
- 通过tcpdump确认Linux系统是否收到和响应ping包
- Eclipse.自动提示--编写HTML/CSS/JS/JSP代码时自动提示的解决办法
- 扩展KMP
- iOS开发最简单的用一组图片形成动态效果
- 机器语言(即01010),你真的理解吗?
- 高效开发者之思维模式
- Matlab一个错误引发的血案:??? Error using ==> str2num Requires string or character array input