[jboss-cvs] JBossAS SVN: r93037 - tags/JBPAPP_5_0_0_CR3/build.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Aug 31 11:41:07 EDT 2009
Author: fnasser at redhat.com
Date: 2009-08-31 11:41:07 -0400 (Mon, 31 Aug 2009)
New Revision: 93037
Modified:
tags/JBPAPP_5_0_0_CR3/build/jbossas-5-disableauth.patch
tags/JBPAPP_5_0_0_CR3/build/jbossas-5-enableauth.patch
Log:
92892 and 92963 by smarlow at redhat.com (consolidated) JBPAPP-2657 users cannot access http://serverHost:8080/jbossws
Modified: tags/JBPAPP_5_0_0_CR3/build/jbossas-5-disableauth.patch
===================================================================
--- tags/JBPAPP_5_0_0_CR3/build/jbossas-5-disableauth.patch 2009-08-31 15:38:38 UTC (rev 93036)
+++ tags/JBPAPP_5_0_0_CR3/build/jbossas-5-disableauth.patch 2009-08-31 15:41:07 UTC (rev 93037)
@@ -618,4 +618,298 @@
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
-
+diff -Naur server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:03:30.000000000 -0400
++++ server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:00:51.000000000 -0400
+@@ -6,8 +6,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>
++ -->
+
+ <context-root>jbossws</context-root>
+
+diff -Naur server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:02:20.000000000 -0400
++++ server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:00:58.000000000 -0400
+@@ -6,8 +6,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>
++ -->
+
+ <context-root>jbossws</context-root>
+
+diff -Naur server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:02:48.000000000 -0400
++++ server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:01:00.000000000 -0400
+@@ -6,8 +6,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>
++ -->
+
+ <context-root>jbossws</context-root>
+
+diff -Naur server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:03:03.000000000 -0400
++++ server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:01:08.000000000 -0400
+@@ -6,8 +6,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>
++ -->
+
+ <context-root>jbossws</context-root>
+
+diff -Naur server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:02:34.000000000 -0400
++++ server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:00:55.000000000 -0400
+@@ -6,8 +6,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>
++ -->
+
+ <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: tags/JBPAPP_5_0_0_CR3/build/jbossas-5-enableauth.patch
===================================================================
--- tags/JBPAPP_5_0_0_CR3/build/jbossas-5-enableauth.patch 2009-08-31 15:38:38 UTC (rev 93036)
+++ tags/JBPAPP_5_0_0_CR3/build/jbossas-5-enableauth.patch 2009-08-31 15:41:07 UTC (rev 93037)
@@ -714,4 +714,298 @@
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
-
+diff -Naur server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:00:51.000000000 -0400
++++ server/all/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:03:30.000000000 -0400
+@@ -6,9 +6,8 @@
+
+ <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/jmx-console</security-domain>
+
+ <context-root>jbossws</context-root>
+
+diff -Naur server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:00:58.000000000 -0400
++++ server/default/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:02:20.000000000 -0400
+@@ -6,9 +6,8 @@
+
+ <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/jmx-console</security-domain>
+
+ <context-root>jbossws</context-root>
+
+diff -Naur server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:01:00.000000000 -0400
++++ server/production/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:02:48.000000000 -0400
+@@ -6,9 +6,8 @@
+
+ <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/jmx-console</security-domain>
+
+ <context-root>jbossws</context-root>
+
+diff -Naur server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:01:08.000000000 -0400
++++ server/standard/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:03:03.000000000 -0400
+@@ -6,9 +6,8 @@
+
+ <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/jmx-console</security-domain>
+
+ <context-root>jbossws</context-root>
+
+diff -Naur server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml
+--- server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:00:55.000000000 -0400
++++ server/web/deploy/jbossws.sar/jbossws-management.war/WEB-INF/jboss-web.xml 2009-08-27 15:02:34.000000000 -0400
+@@ -6,9 +6,8 @@
+
+ <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/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