Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 1 | <?xml version='1.0' encoding='utf-8'?>
|
| 2 | <!--
|
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 | contributor license agreements. See the NOTICE file distributed with
|
| 5 | this work for additional information regarding copyright ownership.
|
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 | (the "License"); you may not use this file except in compliance with
|
| 8 | the License. You may obtain a copy of the License at
|
| 9 |
|
| 10 | http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
|
| 12 | Unless required by applicable law or agreed to in writing, software
|
| 13 | distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 | See the License for the specific language governing permissions and
|
| 16 | limitations under the License.
|
| 17 | -->
|
| 18 | <tomcat-users>
|
| 19 | <!--
|
| 20 | NOTE: By default, no user is included in the "manager-gui" role required
|
| 21 | to operate the "/manager/html" web application. If you wish to use this app,
|
刘洪青 | 6266f99 | 2017-05-15 21:21:03 +0800 | [diff] [blame^] | 22 | you must define such a user - the username and password are arbitrary. It is
|
| 23 | strongly recommended that you do NOT use one of the users in the commented out
|
| 24 | section below since they are intended for use with the examples web
|
| 25 | application.
|
Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 26 | -->
|
| 27 | <!--
|
刘洪青 | 6266f99 | 2017-05-15 21:21:03 +0800 | [diff] [blame^] | 28 | NOTE: The sample user and role entries below are intended for use with the
|
| 29 | examples web application. They are wrapped in a comment and thus are ignored
|
| 30 | when reading this file. If you wish to configure these users for use with the
|
| 31 | examples web application, do not forget to remove the <!.. ..> that surrounds
|
| 32 | them. You will also need to set the passwords to something appropriate.
|
Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 33 | -->
|
| 34 | <!--
|
| 35 | <role rolename="tomcat"/>
|
| 36 | <role rolename="role1"/>
|
刘洪青 | 6266f99 | 2017-05-15 21:21:03 +0800 | [diff] [blame^] | 37 | <user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
|
| 38 | <user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
|
| 39 | <user username="role1" password="<must-be-changed>" roles="role1"/>
|
Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 40 | -->
|
| 41 | </tomcat-users>
|