[jboss-cvs] JBossAS SVN: r92963 - branches/JBPAPP_5_0/build.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 28 11:27:02 EDT 2009
Author: smarlow at redhat.com
Date: 2009-08-28 11:27:02 -0400 (Fri, 28 Aug 2009)
New Revision: 92963
Modified:
branches/JBPAPP_5_0/build/jbossas-5-disableauth.patch
branches/JBPAPP_5_0/build/jbossas-5-enableauth.patch
Log:
JBPAPP-2657 users cannot access http://serverHost:8080/jbossws
Modified: branches/JBPAPP_5_0/build/jbossas-5-disableauth.patch
===================================================================
--- branches/JBPAPP_5_0/build/jbossas-5-disableauth.patch 2009-08-28 15:26:56 UTC (rev 92962)
+++ branches/JBPAPP_5_0/build/jbossas-5-disableauth.patch 2009-08-28 15:27:02 UTC (rev 92963)
@@ -626,8 +626,9 @@
<jboss-web>
- <!-- A security domain that restricts access -->
+- <security-domain>java:/jaas/jmx-console</security-domain>
+ <!-- A security domain that restricts access
- <security-domain>java:/jaas/JBossWS</security-domain>
++ <security-domain>java:/jaas/JBossWS</security-domain>
+ -->
<context-root>jbossws</context-root>
@@ -640,8 +641,9 @@
<jboss-web>
- <!-- A security domain that restricts access -->
+- <security-domain>java:/jaas/jmx-console</security-domain>
+ <!-- A security domain that restricts access
- <security-domain>java:/jaas/JBossWS</security-domain>
++ <security-domain>java:/jaas/JBossWS</security-domain>
+ -->
<context-root>jbossws</context-root>
@@ -654,8 +656,9 @@
<jboss-web>
- <!-- A security domain that restricts access -->
+- <security-domain>java:/jaas/jmx-console</security-domain>
+ <!-- A security domain that restricts access
- <security-domain>java:/jaas/JBossWS</security-domain>
++ <security-domain>java:/jaas/JBossWS</security-domain>
+ -->
<context-root>jbossws</context-root>
@@ -668,8 +671,9 @@
<jboss-web>
- <!-- A security domain that restricts access -->
+- <security-domain>java:/jaas/jmx-console</security-domain>
+ <!-- A security domain that restricts access
- <security-domain>java:/jaas/JBossWS</security-domain>
++ <security-domain>java:/jaas/JBossWS</security-domain>
+ -->
<context-root>jbossws</context-root>
@@ -682,9 +686,230 @@
<jboss-web>
- <!-- A security domain that restricts access -->
+- <security-domain>java:/jaas/jmx-console</security-domain>
+ <!-- A security domain that restricts access
- <security-domain>java:/jaas/JBossWS</security-domain>
++ <security-domain>java:/jaas/JBossWS</security-domain>
+ -->
<context-root>jbossws</context-root>
+diff -Naur server/all/conf/login-config.xml server/all/conf/login-config.xml
+--- server/all/conf/login-config.xml 2009-08-28 08:54:02.000000000 -0400
++++ server/all/conf/login-config.xml 2009-08-28 08:39:37.000000000 -0400
+@@ -100,8 +100,9 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
+- <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
++ <module-option name="usersProperties">props/jbossws-users.properties</module-option>
++ <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
++ <module-option name="unauthenticatedIdentity">anonymous</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/default/conf/login-config.xml server/default/conf/login-config.xml
+--- server/default/conf/login-config.xml 2009-08-28 09:02:18.000000000 -0400
++++ server/default/conf/login-config.xml 2009-08-28 08:39:52.000000000 -0400
+@@ -100,8 +100,9 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
+- <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
++ <module-option name="usersProperties">props/jbossws-users.properties</module-option>
++ <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
++ <module-option name="unauthenticatedIdentity">anonymous</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/production/conf/login-config.xml server/production/conf/login-config.xml
+--- server/production/conf/login-config.xml 2009-08-28 09:02:36.000000000 -0400
++++ server/production/conf/login-config.xml 2009-08-28 08:39:53.000000000 -0400
+@@ -100,8 +100,9 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
+- <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
++ <module-option name="usersProperties">props/jbossws-users.properties</module-option>
++ <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
++ <module-option name="unauthenticatedIdentity">anonymous</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/standard/conf/login-config.xml server/standard/conf/login-config.xml
+--- server/standard/conf/login-config.xml 2009-08-28 09:02:45.000000000 -0400
++++ server/standard/conf/login-config.xml 2009-08-28 08:39:56.000000000 -0400
+@@ -86,8 +86,9 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
+- <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
++ <module-option name="usersProperties">props/jbossws-users.properties</module-option>
++ <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
++ <module-option name="unauthenticatedIdentity">anonymous</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/web/conf/login-config.xml server/web/conf/login-config.xml
+--- server/web/conf/login-config.xml 2009-08-28 09:02:55.000000000 -0400
++++ server/web/conf/login-config.xml 2009-08-28 08:39:56.000000000 -0400
+@@ -86,8 +86,9 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
+- <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
++ <module-option name="usersProperties">props/jbossws-users.properties</module-option>
++ <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
++ <module-option name="unauthenticatedIdentity">anonymous</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 11:05:23.000000000 -0400
++++ server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 11:04:32.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'JBossAdmin' to access the JBossWS console web application
++ role 'friend' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </security-role>
+
+ <!--
+diff -Naur server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:49:17.000000000 -0400
++++ server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:47:57.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'JBossAdmin' to access the JBossWS console web application
++ role 'friend' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </security-role>
+
+ <!--
+diff -Naur server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:49:28.000000000 -0400
++++ server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:47:42.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'JBossAdmin' to access the JBossWS console web application
++ role 'friend' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </security-role>
+
+ <!--
+diff -Naur server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:49:22.000000000 -0400
++++ server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:48:06.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'JBossAdmin' to access the JBossWS console web application
++ role 'friend' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </security-role>
+
+ <!--
+diff -Naur server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:43:18.000000000 -0400
++++ server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:47:52.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'JBossAdmin' to access the JBossWS console web application
++ role 'friend' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>JBossAdmin</role-name>
++ <role-name>friend</role-name>
+ </security-role>
+
+ <!--
Modified: branches/JBPAPP_5_0/build/jbossas-5-enableauth.patch
===================================================================
--- branches/JBPAPP_5_0/build/jbossas-5-enableauth.patch 2009-08-28 15:26:56 UTC (rev 92962)
+++ branches/JBPAPP_5_0/build/jbossas-5-enableauth.patch 2009-08-28 15:27:02 UTC (rev 92963)
@@ -722,9 +722,10 @@
<jboss-web>
- <!-- A security domain that restricts access
+- <security-domain>java:/jaas/JBossWS</security-domain>
+- -->
+ <!-- A security domain that restricts access -->
- <security-domain>java:/jaas/JBossWS</security-domain>
-- -->
++ <security-domain>java:/jaas/jmx-console</security-domain>
<context-root>jbossws</context-root>
@@ -736,9 +737,10 @@
<jboss-web>
- <!-- A security domain that restricts access
+- <security-domain>java:/jaas/JBossWS</security-domain>
+- -->
+ <!-- A security domain that restricts access -->
- <security-domain>java:/jaas/JBossWS</security-domain>
-- -->
++ <security-domain>java:/jaas/jmx-console</security-domain>
<context-root>jbossws</context-root>
@@ -750,9 +752,10 @@
<jboss-web>
- <!-- A security domain that restricts access
+- <security-domain>java:/jaas/JBossWS</security-domain>
+- -->
+ <!-- A security domain that restricts access -->
- <security-domain>java:/jaas/JBossWS</security-domain>
-- -->
++ <security-domain>java:/jaas/jmx-console</security-domain>
<context-root>jbossws</context-root>
@@ -764,9 +767,10 @@
<jboss-web>
- <!-- A security domain that restricts access
+- <security-domain>java:/jaas/JBossWS</security-domain>
+- -->
+ <!-- A security domain that restricts access -->
- <security-domain>java:/jaas/JBossWS</security-domain>
-- -->
++ <security-domain>java:/jaas/jmx-console</security-domain>
<context-root>jbossws</context-root>
@@ -778,9 +782,230 @@
<jboss-web>
- <!-- A security domain that restricts access
+- <security-domain>java:/jaas/JBossWS</security-domain>
+- -->
+ <!-- A security domain that restricts access -->
- <security-domain>java:/jaas/JBossWS</security-domain>
-- -->
++ <security-domain>java:/jaas/jmx-console</security-domain>
<context-root>jbossws</context-root>
+diff -Naur server/all/conf/login-config.xml server/all/conf/login-config.xml
+--- server/all/conf/login-config.xml 2009-08-28 08:39:37.000000000 -0400
++++ server/all/conf/login-config.xml 2009-08-28 08:54:02.000000000 -0400
+@@ -100,9 +100,8 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jbossws-users.properties</module-option>
+- <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
+- <module-option name="unauthenticatedIdentity">anonymous</module-option>
++ <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
++ <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/default/conf/login-config.xml server/default/conf/login-config.xml
+--- server/default/conf/login-config.xml 2009-08-28 08:39:52.000000000 -0400
++++ server/default/conf/login-config.xml 2009-08-28 09:02:18.000000000 -0400
+@@ -100,9 +100,8 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jbossws-users.properties</module-option>
+- <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
+- <module-option name="unauthenticatedIdentity">anonymous</module-option>
++ <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
++ <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/production/conf/login-config.xml server/production/conf/login-config.xml
+--- server/production/conf/login-config.xml 2009-08-28 08:39:53.000000000 -0400
++++ server/production/conf/login-config.xml 2009-08-28 09:02:36.000000000 -0400
+@@ -100,9 +100,8 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jbossws-users.properties</module-option>
+- <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
+- <module-option name="unauthenticatedIdentity">anonymous</module-option>
++ <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
++ <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/standard/conf/login-config.xml server/standard/conf/login-config.xml
+--- server/standard/conf/login-config.xml 2009-08-28 08:39:56.000000000 -0400
++++ server/standard/conf/login-config.xml 2009-08-28 09:02:45.000000000 -0400
+@@ -86,9 +86,8 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jbossws-users.properties</module-option>
+- <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
+- <module-option name="unauthenticatedIdentity">anonymous</module-option>
++ <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
++ <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/web/conf/login-config.xml server/web/conf/login-config.xml
+--- server/web/conf/login-config.xml 2009-08-28 08:39:56.000000000 -0400
++++ server/web/conf/login-config.xml 2009-08-28 09:02:55.000000000 -0400
+@@ -86,9 +86,8 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/jbossws-users.properties</module-option>
+- <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
+- <module-option name="unauthenticatedIdentity">anonymous</module-option>
++ <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
++ <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 11:04:32.000000000 -0400
++++ server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 11:05:23.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'friend' to access the JBossWS console web application
++ role 'JBossAdmin' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </security-role>
+
+ <!--
+diff -Naur server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:47:57.000000000 -0400
++++ server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:49:17.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'friend' to access the JBossWS console web application
++ role 'JBossAdmin' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </security-role>
+
+ <!--
+diff -Naur server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:47:42.000000000 -0400
++++ server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:49:28.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'friend' to access the JBossWS console web application
++ role 'JBossAdmin' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </security-role>
+
+ <!--
+diff -Naur server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:48:06.000000000 -0400
++++ server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:49:22.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'friend' to access the JBossWS console web application
++ role 'JBossAdmin' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </security-role>
+
+ <!--
+diff -Naur server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml
+--- server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:47:52.000000000 -0400
++++ server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/web.xml 2009-08-28 10:43:18.000000000 -0400
+@@ -37,14 +37,14 @@
+ <web-resource-collection>
+ <web-resource-name>ContextServlet</web-resource-name>
+ <description>An example security config that only allows users with the
+- role 'friend' to access the JBossWS console web application
++ role 'JBossAdmin' to access the JBossWS console web application
+ </description>
+ <url-pattern>/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+@@ -54,7 +54,7 @@
+ </login-config>
+
+ <security-role>
+- <role-name>friend</role-name>
++ <role-name>JBossAdmin</role-name>
+ </security-role>
+
+ <!--
More information about the jboss-cvs-commits
mailing list