Author: markt
Date: Tue May 11 21:02:19 2010
New Revision: 943290
URL: http://svn.apache.org/viewvc?rev=943290&view=rev
Log:
Change role name for Manager GUI access to manager-gui to align with planned
changes to Tomcat 5/6
Modified:
tomcat/trunk/webapps/manager/401.jsp
tomcat/trunk/webapps/manager/WEB-INF/web.xml
Modified: tomcat/trunk/webapps/manager/401.jsp
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/401.jsp?rev=943290&r1=943289&r2=943290&view=diff
==============================================================================
--- tomcat/trunk/webapps/manager/401.jsp (original)
+++ tomcat/trunk/webapps/manager/401.jsp Tue May 11 21:02:19 2010
@@ -39,13 +39,13 @@
file must contain the credentials to let you use this webapp.
</p>
<p>
- For example, to add the <tt>manager</tt> role to a user named
+ For example, to add the <tt>manager-gui</tt> role to a user named
<tt>tomcat</tt> with a password of <tt>s3cret</tt>, add the following to
the
config file listed above.
</p>
<pre>
-<role rolename="manager"/>
-<user username="tomcat" password="s3cret" roles="manager"/>
+<role rolename="manager-gui"/>
+<user username="tomcat" password="s3cret" roles="manager-gui"/>
</pre>
<p>
Note that for Tomcat 7 onwards, the roles required to use the manager
@@ -54,7 +54,7 @@
the functionality you wish to access.
</p>
<ul>
- <li><tt>manager</tt> - allows access to the HTML GUI and the status
+ <li><tt>manager-gui</tt> - allows access to the HTML GUI and the status
pages</li>
<li><tt>manager-script</tt> - allows access to the text interface and the
status pages</li>
Modified: tomcat/trunk/webapps/manager/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/WEB-INF/web.xml?rev=943290&r1=943289&r2=943290&view=diff
==============================================================================
--- tomcat/trunk/webapps/manager/WEB-INF/web.xml (original)
+++ tomcat/trunk/webapps/manager/WEB-INF/web.xml Tue May 11 21:02:19 2010
@@ -105,7 +105,7 @@
<url-pattern>/html/*</url-pattern>
</web-resource-collection>
<auth-constraint>
- <role-name>manager</role-name>
+ <role-name>manager-gui</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
@@ -132,7 +132,7 @@
<url-pattern>/status/*</url-pattern>
</web-resource-collection>
<auth-constraint>
- <role-name>manager</role-name>
+ <role-name>manager-gui</role-name>
<role-name>manager-script</role-name>
<role-name>manager-jmx</role-name>
<role-name>manager-status</role-name>
@@ -150,7 +150,7 @@
<description>
The role that is required to access the HTML Manager pages
</description>
- <role-name>manager</role-name>
+ <role-name>manager-gui</role-name>
</security-role>
<security-role>
<description>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]