tomcat-users.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. -->
  16. <tomcat-users xmlns="http://tomcat.apache.org/xml"
  17. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  18. xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
  19. version="1.0">
  20. <!--
  21. NOTE: By default, no user is included in the "manager-gui" role required
  22. to operate the "/manager/html" web application. If you wish to use this app,
  23. you must define such a user - the username and password are arbitrary. It is
  24. strongly recommended that you do NOT use one of the users in the commented out
  25. section below since they are intended for use with the examples web
  26. application.
  27. -->
  28. <!--
  29. NOTE: The sample user and role entries below are intended for use with the
  30. examples web application. They are wrapped in a comment and thus are ignored
  31. when reading this file. If you wish to configure these users for use with the
  32. examples web application, do not forget to remove the <!.. ..> that surrounds
  33. them. You will also need to set the passwords to something appropriate.
  34. -->
  35. <!--
  36. <role rolename="tomcat"/>
  37. <role rolename="role1"/>
  38. <user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
  39. <user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
  40. <user username="role1" password="<must-be-changed>" roles="role1"/>
  41. -->
  42. <role rolename="manager-gui"/>
  43. <role rolename="manager-script"/>
  44. <user username="tomcat" password="tomcat" roles="manager-gui, manger-script"/>
  45. </tomcat-users>