On 22/12/2018 09:12, Karen Goh wrote:
I am running Netbean 8.2 and am trying to study a web project from github.
It was stated that certain pages are constrained by the Tomcat Role, in order
to view the Admin panel.
So, what I did was to alter the Tomcat C:\Program Files\Apache Software
Foundation\Apache Tomcat 8.0.27\conf\tomcat-user.xml
Note: 8.0.x has reached end of life and is no longer supported.
And here's what I added:
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<user password="tomcat" roles="tomcat,manager-gui" username="tomcat"/>
<user password="tomcat" roles="tomcat,role1" username="both"/>
<user password="tomcat" roles="role1" username="role1"/>
<user password="pass" roles="manager-script, administrator" username="me"/>
</tomcat-users>
Are you sure the above is not commented out?
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]