[jboss-cvs] JBossAS SVN: r90711 - branches/JBPAPP_5_0/build.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jun 30 16:30:25 EDT 2009
Author: smarlow at redhat.com
Date: 2009-06-30 16:30:25 -0400 (Tue, 30 Jun 2009)
New Revision: 90711
Added:
branches/JBPAPP_5_0/build/jbossas-5-disableauth.patch
Modified:
branches/JBPAPP_5_0/build/jbossas-5-enableauth.patch
Log:
JBPAPP-2052 Production profile for EAP 5
Added: branches/JBPAPP_5_0/build/jbossas-5-disableauth.patch
===================================================================
--- branches/JBPAPP_5_0/build/jbossas-5-disableauth.patch (rev 0)
+++ branches/JBPAPP_5_0/build/jbossas-5-disableauth.patch 2009-06-30 20:30:25 UTC (rev 90711)
@@ -0,0 +1,116 @@
+diff -Naur ./server/production/conf/login-config.xml ./server/production/conf/login-config.xml
+--- ./server/production/conf/login-config.xml 2009-06-30 10:11:15.000000000 -0400
++++ ./server/production/conf/login-config.xml 2009-06-30 09:32:56.000000000 -0400
+@@ -85,8 +85,8 @@
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required">
+- <module-option name="usersProperties">props/web-console-users.properties</module-option>
+- <module-option name="rolesProperties">props/web-console-roles.properties</module-option>
++ <module-option name="usersProperties">web-console-users.properties</module-option>
++ <module-option name="rolesProperties">web-console-roles.properties</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+diff -Naur ./server/production/conf/props/web-console-roles.properties ./server/production/conf/props/web-console-roles.properties
+--- ./server/production/conf/props/web-console-roles.properties 2009-06-30 10:54:23.000000000 -0400
++++ ./server/production/conf/props/web-console-roles.properties 1969-12-31 19:00:00.000000000 -0500
+@@ -1,2 +0,0 @@
+-# A sample roles.properties file for use with the UsersRolesLoginModule
+-admin=JBossAdmin,HttpInvoker
+diff -Naur ./server/production/conf/props/web-console-users.properties ./server/production/conf/props/web-console-users.properties
+--- ./server/production/conf/props/web-console-users.properties 2009-06-30 10:19:36.000000000 -0400
++++ ./server/production/conf/props/web-console-users.properties 1969-12-31 19:00:00.000000000 -0500
+@@ -1,2 +0,0 @@
+-# A sample users.properties file for use with the UsersRolesLoginModule
+-admin=admin
+diff -Naur ./server/production/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml ./server/production/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml
+--- ./server/production/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml 2009-06-30 16:15:33.000000000 -0400
++++ ./server/production/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml 2009-06-30 09:32:55.000000000 -0400
+@@ -203,9 +203,6 @@
+ role HttpInvoker to access the HTTP invoker servlets
+ </description>
+ <url-pattern>/restricted/*</url-pattern>
+- <url-pattern>/JNDIFactory/*</url-pattern>
+- <url-pattern>/EJBInvokerServlet/*</url-pattern>
+- <url-pattern>/JMXInvokerServlet/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+diff -Naur ./server/production/deploy/jmx-console.war/WEB-INF/jboss-web.xml ./server/production/deploy/jmx-console.war/WEB-INF/jboss-web.xml
+--- ./server/production/deploy/jmx-console.war/WEB-INF/jboss-web.xml 2009-06-30 10:01:01.000000000 -0400
++++ ./server/production/deploy/jmx-console.war/WEB-INF/jboss-web.xml 2009-06-30 09:32:55.000000000 -0400
+@@ -6,6 +6,6 @@
+ <!-- Uncomment the security-domain to enable security. You will
+ need to edit the htmladaptor login configuration to setup the
+ login modules used to authentication users.
+- -->
+ <security-domain>java:/jaas/jmx-console</security-domain>
++ -->
+ </jboss-web>
+diff -Naur ./server/production/deploy/jmx-console.war/WEB-INF/web.xml ./server/production/deploy/jmx-console.war/WEB-INF/web.xml
+--- ./server/production/deploy/jmx-console.war/WEB-INF/web.xml 2009-06-30 09:41:52.000000000 -0400
++++ ./server/production/deploy/jmx-console.war/WEB-INF/web.xml 2009-06-30 09:32:55.000000000 -0400
+@@ -97,7 +97,6 @@
+ to users with the role JBossAdmin. Edit the roles to what you want and
+ uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
+ secured access to the HTML JMX console.
+- -->
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>HtmlAdaptor</web-resource-name>
+@@ -112,6 +111,7 @@
+ <role-name>JBossAdmin</role-name>
+ </auth-constraint>
+ </security-constraint>
++ -->
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
+diff -Naur ./server/production/deploy/jmx-invoker-service.xml ./server/production/deploy/jmx-invoker-service.xml
+--- ./server/production/deploy/jmx-invoker-service.xml 2009-06-30 16:11:29.000000000 -0400
++++ ./server/production/deploy/jmx-invoker-service.xml 2009-06-30 09:32:55.000000000 -0400
+@@ -111,9 +111,10 @@
+ <return-type>java.lang.Object</return-type>
+ <descriptors>
+ <interceptors>
+- <!-- Uncomment to require authenticated users -->
++ <!-- Uncomment to require authenticated users
+ <interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
+ securityDomain="java:/jaas/jmx-console"/>
++ -->
+ <!-- Interceptor that deals with non-serializable results -->
+ <interceptor code="org.jboss.jmx.connector.invoker.SerializableInterceptor"
+ policyClass="StripModelMBeanInfoPolicy"/>
+diff -Naur ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml
+--- ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml 2009-06-30 10:09:05.000000000 -0400
++++ ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml 2009-06-30 09:32:55.000000000 -0400
+@@ -9,8 +9,8 @@
+ <!-- Uncomment the security-domain to enable security. You will
+ need to edit the htmladaptor login configuration to setup the
+ login modules used to authentication users.
+- -->
+ <security-domain>java:/jaas/web-console</security-domain>
++ -->
+
+ <!-- The war depends on the -->
+ <depends>jboss.admin:service=PluginManager</depends>
+diff -Naur ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml
+--- ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml 2009-06-30 10:06:51.000000000 -0400
++++ ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml 2009-06-30 09:32:55.000000000 -0400
+@@ -339,7 +339,6 @@
+ to users with the role JBossAdmin. Edit the roles to what you want and
+ uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
+ secured access to the HTML JMX console.
+- -->
+
+ <security-constraint>
+ <web-resource-collection>
+@@ -355,6 +354,7 @@
+ <role-name>JBossAdmin</role-name>
+ </auth-constraint>
+ </security-constraint>
++ -->
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
Modified: branches/JBPAPP_5_0/build/jbossas-5-enableauth.patch
===================================================================
--- branches/JBPAPP_5_0/build/jbossas-5-enableauth.patch 2009-06-30 20:21:52 UTC (rev 90710)
+++ branches/JBPAPP_5_0/build/jbossas-5-enableauth.patch 2009-06-30 20:30:25 UTC (rev 90711)
@@ -24,6 +24,19 @@
@@ -0,0 +1,2 @@
+# A sample users.properties file for use with the UsersRolesLoginModule
+admin=admin
+diff -Naur ./server/production/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml ./server/production/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml
+--- ./server/production/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml 2009-06-30 09:32:55.000000000 -0400
++++ ./server/production/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml 2009-06-30 16:15:33.000000000 -0400
+@@ -203,6 +203,9 @@
+ role HttpInvoker to access the HTTP invoker servlets
+ </description>
+ <url-pattern>/restricted/*</url-pattern>
++ <url-pattern>/JNDIFactory/*</url-pattern>
++ <url-pattern>/EJBInvokerServlet/*</url-pattern>
++ <url-pattern>/JMXInvokerServlet/*</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>POST</http-method>
+ </web-resource-collection>
diff -Naur ./server/production/deploy/jmx-console.war/WEB-INF/jboss-web.xml ./server/production/deploy/jmx-console.war/WEB-INF/jboss-web.xml
--- ./server/production/deploy/jmx-console.war/WEB-INF/jboss-web.xml 2009-06-30 09:32:55.000000000 -0400
+++ ./server/production/deploy/jmx-console.war/WEB-INF/jboss-web.xml 2009-06-30 10:01:01.000000000 -0400
@@ -54,6 +67,21 @@
<login-config>
<auth-method>BASIC</auth-method>
+diff -Naur ./server/production/deploy/jmx-invoker-service.xml ./server/production/deploy/jmx-invoker-service.xml
+--- ./server/production/deploy/jmx-invoker-service.xml 2009-06-30 09:32:55.000000000 -0400
++++ ./server/production/deploy/jmx-invoker-service.xml 2009-06-30 16:11:29.000000000 -0400
+@@ -111,10 +111,9 @@
+ <return-type>java.lang.Object</return-type>
+ <descriptors>
+ <interceptors>
+- <!-- Uncomment to require authenticated users
++ <!-- Uncomment to require authenticated users -->
+ <interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
+ securityDomain="java:/jaas/jmx-console"/>
+- -->
+ <!-- Interceptor that deals with non-serializable results -->
+ <interceptor code="org.jboss.jmx.connector.invoker.SerializableInterceptor"
+ policyClass="StripModelMBeanInfoPolicy"/>
diff -Naur ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml
--- ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml 2009-06-30 09:32:55.000000000 -0400
+++ ./server/production/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml 2009-06-30 10:09:05.000000000 -0400
More information about the jboss-cvs-commits
mailing list