From 8d7e9e2aeeae286bd728a3af02ad3181a70bea3b Mon Sep 17 00:00:00 2001
From: markt
Date: Tue, 11 May 2010 21:02:19 +0000
Subject: [PATCH] Change role name for Manager GUI access to manager-gui to
align with planned changes to Tomcat 5/6
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@943290 13f79535-47bb-0310-9956-ffa450edef68
---
webapps/manager/401.jsp | 8 ++++----
webapps/manager/WEB-INF/web.xml | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/webapps/manager/401.jsp b/webapps/manager/401.jsp
index caab47f2f..8fb2cfd57 100644
--- a/webapps/manager/401.jsp
+++ b/webapps/manager/401.jsp
@@ -39,13 +39,13 @@
file must contain the credentials to let you use this webapp.
- For example, to add the manager role to a user named
+ For example, to add the manager-gui role to a user named
tomcat with a password of s3cret, add the following to the
config file listed above.
-<role rolename="manager"/>
-<user username="tomcat" password="s3cret" roles="manager"/>
+<role rolename="manager-gui"/>
+<user username="tomcat" password="s3cret" roles="manager-gui"/>
Note that for Tomcat 7 onwards, the roles required to use the manager
@@ -54,7 +54,7 @@
the functionality you wish to access.
- - manager - allows access to the HTML GUI and the status
+
- manager-gui - allows access to the HTML GUI and the status
pages
- manager-script - allows access to the text interface and the
status pages
diff --git a/webapps/manager/WEB-INF/web.xml b/webapps/manager/WEB-INF/web.xml
index 3ea03d59b..89cf40a2c 100644
--- a/webapps/manager/WEB-INF/web.xml
+++ b/webapps/manager/WEB-INF/web.xml
@@ -105,7 +105,7 @@
/html/*
- manager
+ manager-gui
@@ -132,7 +132,7 @@
/status/*
- manager
+ manager-gui
manager-script
manager-jmx
manager-status
@@ -150,7 +150,7 @@
The role that is required to access the HTML Manager pages
- manager
+ manager-gui
--
2.11.0