How to Set Username and Password in Apache Tomcat Server

Published: 06 January 2023
on channel: Prashant Rana
5,333
57

After installing a new Tomcat Server, there will be no user created by Default to access Administrator and Manager Web Interfaces. After Completing the Installation set up Tomcat Admin and Manager user accounts and set their Passwords.

1. Roles for Admin (Host Manager) Access =
admin-gui – This allows access to the HTML GUI
admin-script – This allows access to the text interface
2. Roles for Manager (Manager App) Access =
manager-gui – This allows HTML GUI and the status pages
manager-script – This allows text interface and the status pages
manager-jmx – This allows JMX proxy and the status pages
manager-status – This allows access to the status pages only

Roles Needs to be Added in tomcat-users.xml =
role rolename="manager-gui"/
user username="admin" password="admin" roles="manager-gui"/

#tomcat #java #apache


Watch video How to Set Username and Password in Apache Tomcat Server online without registration, duration hours minute second in high quality. This video was added by user Prashant Rana 06 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,333 once and liked it 57 people.