tomcat6-7配置管理用户
2014-03-21 21:01
423 查看
tomcat6:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role
rolename="manager"/>
<role
rolename="admin"/>
<user username="admin"
password="admin" roles="admin,manager"/>
</tomcat-users>
tomcat7:
<?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"/>
<user username="tomcat"
password="tomcat" roles="tomcat"/>
<user username="both"
password="tomcat" roles="tomcat,role1"/>
<user username="role1"
password="tomcat" roles="role1"/>
-->
<role rolename="admin-gui"/>
<user username="tomcat" password="tomcat"
roles="admin-gui"/>
</tomcat-users>
但是Tomcat7的
上面是不对的哦,亲;
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role
rolename="manager"/>
<role
rolename="admin"/>
<user username="admin"
password="admin" roles="admin,manager"/>
</tomcat-users>
tomcat7:
<?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"/>
<user username="tomcat"
password="tomcat" roles="tomcat"/>
<user username="both"
password="tomcat" roles="tomcat,role1"/>
<user username="role1"
password="tomcat" roles="role1"/>
-->
<role rolename="admin-gui"/>
<user username="tomcat" password="tomcat"
roles="admin-gui"/>
</tomcat-users>
但是Tomcat7的
上面是不对的哦,亲;
相关文章推荐
- 免安装版Tomcat配置用户登录项目管理界面
- 配置Tomcat6的管理用户
- tomcat 管理用户添加 tomcat6 与tomcat7 配置咯有不同
- tomcat中的"Tomcat Manager"用户管理配置 web管理
- JavaWeb学习之tomcat安装与运行、tomcat的目录结构、配置tomcat的管理用户、web项目目录、虚拟目录、虚拟主机(1)
- Linux下配置Tomcat允许指定身份用户管理服务
- linux tomcat的tomcat-users.xml配置管理用户
- 配置tomcat管理用户
- 配置tomcat管理用户
- tomcat管理页面用户角色、用户名、用户密码的配置
- 配置Tomcat,允许指定身份用户管理服务(Linux平台)
- Jenkins + Git + Maven + tomcat集成环境(Jenkins 配置-添加用户和管理权限)
- tomcat web 管理用户认证配置
- Tomcat配置与优化(内存、并发、管理)
- Linux 用户管理之相关配置文件
- Tomcat 6 配置虚拟主机<域名/二级域名>,并通过Tomcat控制台对多个Host进行管理
- 活动目录服务的配置与管理(4) 管理域用户账号
- Linux系统下关于用户和组的配置管理
- applicationContext.xml配置文件在用户管理中的使用
- 用户管理 之 用户(User)和用户组(Group)配置文件详解