Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update tomcat-users.xml
Adding default manager roles in tomcat users config.
  • Loading branch information
dagnelies authored Mar 8, 2021
commit 48d3e68442f1f37c6e7da5c521ab9611d4c02173
23 changes: 17 additions & 6 deletions conf/tomcat-users.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,26 @@
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
version="1.0">
<!--
NOTE: By default, no user is included in the "manager-gui" role required
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. It is
strongly recommended that you do NOT use one of the users in the commented out
section below since they are intended for use with the examples web
application.
you must define such a user - the username and password are arbitrary.

Tomcat manager roles:
- manager-gui - allows access to the HTML GUI and the status pages
- manager-script - allows access to the text interface and the status pages
- manager-jmx - allows access to the JMX proxy and the status pages
- manager-status - allows access to the status pages only
-->
<!--
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="admin" password="<must-be-changed>" roles="manager-gui,manager-jmx"/>
<user username="robot" password="<must-be-changed>" roles="manager-script"/>
-->
<!--
NOTE: The sample user and role entries below are intended for use with the
The sample user and role entries below are intended for use with the
examples web application. They are wrapped in a comment and thus are ignored
when reading this file. If you wish to configure these users for use with the
examples web application, do not forget to remove the <!.. ..> that surrounds
Expand Down