I'm new in Tomcat and whole Java. I installed Tomcat and set up admin role.
Then download and build sample application using Maven.
Then I deployed .war file into Tomcat and it appeared in Tomcat Applications Manager (localhost:8080/manager/html).
But when I tries to open deployed application, Tomcat asks me for username and password. I can't open application under admin - gives 403.
My tomcat-users.xml
:
<tomcat-users>
<user username="admin" password="admin" roles="manager-gui,admin-gui"/>
</tomcat-users>
What role must I give for user (admin or other) for application will be able to opened? Or, better, remove login requirement for deployed application.