tomcat-users.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. 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.
  20. Built-in Tomcat manager roles:
  21. - manager-gui - allows access to the HTML GUI and the status pages
  22. - manager-script - allows access to the HTTP API and the status pages
  23. - manager-jmx - allows access to the JMX proxy and the status pages
  24. - manager-status - allows access to the status pages only
  25. The users below are wrapped in a comment and are therefore ignored. If you
  26. wish to configure one or more of these users for use with the manager web
  27. application, do not forget to remove the <!.. ..> that surrounds them. You
  28. will also need to set the passwords to something appropriate.
  29. -->
  30. <!--
  31. <user username="admin" password="<must-be-changed>" roles="manager-gui"/>
  32. <user username="robot" password="<must-be-changed>" roles="manager-script"/>
  33. -->
  34. <!--
  35. The sample user and role entries below are intended for use with the
  36. examples web application. They are wrapped in a comment and thus are ignored
  37. when reading this file. If you wish to configure these users for use with the
  38. examples web application, do not forget to remove the <!.. ..> that surrounds
  39. them. You will also need to set the passwords to something appropriate.
  40. -->
  41. <!--
  42. <role rolename="tomcat"/>
  43. <role rolename="role1"/>
  44. <user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
  45. <user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
  46. <user username="role1" password="<must-be-changed>" roles="role1"/>
  47. -->
  48. </tomcat-users>