tomcat-users.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. --><tomcat-users version="1.0" xmlns="http://tomcat.apache.org/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd">
  16. <!--
  17. NOTE: By default, no user is included in the "manager-gui" role required
  18. to operate the "/manager/html" web application. If you wish to use this app,
  19. you must define such a user - the username and password are arbitrary. It is
  20. strongly recommended that you do NOT use one of the users in the commented out
  21. section below since they are intended for use with the examples web
  22. application.
  23. -->
  24. <!--
  25. NOTE: The sample user and role entries below are intended for use with the
  26. examples web application. They are wrapped in a comment and thus are ignored
  27. when reading this file. If you wish to configure these users for use with the
  28. examples web application, do not forget to remove the <!.. ..> that surrounds
  29. them. You will also need to set the passwords to something appropriate.
  30. -->
  31. <!--
  32. <role rolename="tomcat"/>
  33. <role rolename="role1"/>
  34. <user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
  35. <user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
  36. <user username="role1" password="<must-be-changed>" roles="role1"/>
  37. -->
  38. </tomcat-users>