How to Set Username and Password in Apache Tomcat Server

Опубликовано: 06 Январь 2023
на канале: 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


Смотрите видео How to Set Username and Password in Apache Tomcat Server онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Prashant Rana 06 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,333 раз и оно понравилось 57 людям.