w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to configure tomcat web.xml and tomcat-users.xml to secure a tomcat page

As far as access to the tomcat manager GUI is considered, there is no role as "manager" to set in tomcat-users.xml.

you have to specify one of these roles.

You can find the role names in the web.xml file of the Manager web application. The available roles are: •manager-gui — Access to the HTML interface. •manager-status — Access to the "Server Status" page only. •manager-script — Access to the tools-friendly plain text interface that is described in this document, and to the "Server Status" page. •manager-jmx — Access to JMX proxy interface and to the "Server Status" page.

have a look into this link for further info, http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html

I hope it helps, thanks.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.