geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmcma...@apache.org
Subject svn commit: r561821 [8/12] - in /geronimo/sandbox/j2g: ./ configurator/ doc/ plugins/ plugins/org.apache.geronimo.j2g.common/ plugins/org.apache.geronimo.j2g.descriptors/ plugins/org.apache.geronimo.j2g.descriptors/src/ plugins/org.apache.geronimo.j2g....
Date Wed, 01 Aug 2007 15:05:17 GMT
Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/geronimo-jms-resource-plan.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/geronimo-jms-resource-plan.xml?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/geronimo-jms-resource-plan.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/geronimo-jms-resource-plan.xml Wed Aug  1 08:05:12 2007
@@ -1,125 +1,125 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License. -->
-<connector
-    xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
-    <environment
-        xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
-        <moduleId>
-            <groupId>console.jms</groupId>
-            <artifactId>SampleResourceGroup</artifactId>
-            <version>1.0</version>
-            <type>rar</type>
-        </moduleId>
-        <dependencies>
-            <dependency>
-                 <groupId>geronimo</groupId>
-                 <artifactId>activemq-broker</artifactId>
-                 <type>car</type>
-            </dependency>
-        </dependencies>
-    </environment>
-  <resourceadapter>
-    <!-- how to connect to the JMS Server -->
-    <resourceadapter-instance>
-      <resourceadapter-name>
-        My JMS Resources
-      </resourceadapter-name>
-      <config-property-setting name="ServerUrl">
-        tcp://localhost:61616
-      </config-property-setting>
-      <config-property-setting name="UserName">
-        geronimo
-      </config-property-setting>
-      <config-property-setting name="Password">
-        geronimo
-      </config-property-setting>
-      <workmanager>
-                               105
-                  JMS Configuration [DRAFT (1.1)]
-      <gbean-link>DefaultWorkManager</gbean-link>
-    </workmanager>
-  </resourceadapter-instance>
-  <!-- defines a ConnectionFactory -->
-  <outbound-resourceadapter>
-    <connection-definition>
-      <connectionfactory-interface>
-        javax.jms.ConnectionFactory
-      </connectionfactory-interface>
-      <connectiondefinition-instance>
-        <name>MyConnectionFactory</name>
-        <implemented-interface>
-          javax.jms.QueueConnectionFactory
-        </implemented-interface>
-        <implemented-interface>
-          javax.jms.TopicConnectionFactory
-        </implemented-interface>
-        <connectionmanager>
-          <xa-transaction>
-            <transaction-caching />
-          </xa-transaction>
-          <single-pool>
-            <max-size>10</max-size>
-            <min-size>0</min-size>
-            <blocking-timeout-milliseconds>
-               5000
-            </blocking-timeout-milliseconds>
-            <idle-timeout-minutes>
-               0
-            </idle-timeout-minutes>
-            <match-one/>
-          </single-pool>
-        </connectionmanager>
-      </connectiondefinition-instance>
-    </connection-definition>
-  </outbound-resourceadapter>
-</resourceadapter>
-<!-- defines a Topic -->
-<adminobject>
-  <adminobject-interface>
-    javax.jms.Topic
-  </adminobject-interface>
-  <adminobject-class>
-    org.activemq.message.ActiveMQTopic
-  </adminobject-class>
-  <adminobject-instance>
-    <message-destination-name>
-      MyTopic
-    </message-destination-name>
-    <config-property-setting name="PhysicalName">
-      MyTopic
-    </config-property-setting>
-  </adminobject-instance>
-</adminobject>
-<!-- defines a Queue -->
-<adminobject>
-  <adminobject-interface>
-    javax.jms.Queue
-  </adminobject-interface>
-  <adminobject-class>
-    org.activemq.message.ActiveMQQueue
-  </adminobject-class>
-  <adminobject-instance>
-    <message-destination-name>
-                               106
-                   JMS Configuration [DRAFT (1.1)]
-        MyQueue
-      </message-destination-name>
-      <config-property-setting name="PhysicalName">
-        MyQueue
-      </config-property-setting>
-    </adminobject-instance>
-  </adminobject>
-</connector>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. -->
+<connector
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
+    <environment
+        xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
+        <moduleId>
+            <groupId>console.jms</groupId>
+            <artifactId>SampleResourceGroup</artifactId>
+            <version>1.0</version>
+            <type>rar</type>
+        </moduleId>
+        <dependencies>
+            <dependency>
+                 <groupId>geronimo</groupId>
+                 <artifactId>activemq-broker</artifactId>
+                 <type>car</type>
+            </dependency>
+        </dependencies>
+    </environment>
+  <resourceadapter>
+    <!-- how to connect to the JMS Server -->
+    <resourceadapter-instance>
+      <resourceadapter-name>
+        My JMS Resources
+      </resourceadapter-name>
+      <config-property-setting name="ServerUrl">
+        tcp://localhost:61616
+      </config-property-setting>
+      <config-property-setting name="UserName">
+        geronimo
+      </config-property-setting>
+      <config-property-setting name="Password">
+        geronimo
+      </config-property-setting>
+      <workmanager>
+                               105
+                  JMS Configuration [DRAFT (1.1)]
+      <gbean-link>DefaultWorkManager</gbean-link>
+    </workmanager>
+  </resourceadapter-instance>
+  <!-- defines a ConnectionFactory -->
+  <outbound-resourceadapter>
+    <connection-definition>
+      <connectionfactory-interface>
+        javax.jms.ConnectionFactory
+      </connectionfactory-interface>
+      <connectiondefinition-instance>
+        <name>MyConnectionFactory</name>
+        <implemented-interface>
+          javax.jms.QueueConnectionFactory
+        </implemented-interface>
+        <implemented-interface>
+          javax.jms.TopicConnectionFactory
+        </implemented-interface>
+        <connectionmanager>
+          <xa-transaction>
+            <transaction-caching />
+          </xa-transaction>
+          <single-pool>
+            <max-size>10</max-size>
+            <min-size>0</min-size>
+            <blocking-timeout-milliseconds>
+               5000
+            </blocking-timeout-milliseconds>
+            <idle-timeout-minutes>
+               0
+            </idle-timeout-minutes>
+            <match-one/>
+          </single-pool>
+        </connectionmanager>
+      </connectiondefinition-instance>
+    </connection-definition>
+  </outbound-resourceadapter>
+</resourceadapter>
+<!-- defines a Topic -->
+<adminobject>
+  <adminobject-interface>
+    javax.jms.Topic
+  </adminobject-interface>
+  <adminobject-class>
+    org.activemq.message.ActiveMQTopic
+  </adminobject-class>
+  <adminobject-instance>
+    <message-destination-name>
+      MyTopic
+    </message-destination-name>
+    <config-property-setting name="PhysicalName">
+      MyTopic
+    </config-property-setting>
+  </adminobject-instance>
+</adminobject>
+<!-- defines a Queue -->
+<adminobject>
+  <adminobject-interface>
+    javax.jms.Queue
+  </adminobject-interface>
+  <adminobject-class>
+    org.activemq.message.ActiveMQQueue
+  </adminobject-class>
+  <adminobject-instance>
+    <message-destination-name>
+                               106
+                   JMS Configuration [DRAFT (1.1)]
+        MyQueue
+      </message-destination-name>
+      <config-property-setting name="PhysicalName">
+        MyQueue
+      </config-property-setting>
+    </adminobject-instance>
+  </adminobject>
+</connector>

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/geronimo-jms-resource-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/geronimo-jms-resource-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/geronimo-jms-resource-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jbossmq-destinations-service.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jbossmq-destinations-service.xml?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jbossmq-destinations-service.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jbossmq-destinations-service.xml Wed Aug  1 08:05:12 2007
@@ -1,109 +1,109 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License. -->
-
-<!--DOCTYPE server
-    PUBLIC "-//JBoss//DTD MBean Service 4.0//EN"
-    "http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd"-->
-
-
-<!-- $Id: jbossmq-destinations-service.xml 546543 2007-06-12 15:57:50Z pmcmahan $ -->
-
-<!-- 
-   | This file defines the default Queues and Topics that JBossMQ
-   | ships with.  The default Queues and Topics are used by the 
-   | JBoss test suite and by the sample jms programs.
-   |
-   | You can add other destinations to this file, or you can create other
-   | *-service.xml files to contain your application's destinations.
- -->
-
-<server>
-  <!-- Destination without a configured SecurityManager or without a 
-       a SecurityConf will default to role guest with read=true, write=true,
-       create=false.
-  -->
-  <mbean code="org.jboss.mq.server.jmx.Topic"
-	 name="jboss.mq.destination:service=Topic,name=testTopic">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
-    <attribute name="SecurityConf">
-      <security>
-        <role name="guest" read="true" write="true"/>
-        <role name="publisher" read="true" write="true" create="false"/>
-        <role name="durpublisher" read="true" write="true" create="true"/>
-      </security>
-    </attribute>
-  </mbean>
-
-  <mbean code="org.jboss.mq.server.jmx.Topic"
-	 name="jboss.mq.destination:service=Topic,name=securedTopic">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
-    <attribute name="SecurityConf">
-      <security>
-        <role name="publisher" read="true" write="true" create="false"/>
-      </security>
-    </attribute>
-  </mbean>
-
-  <mbean code="org.jboss.mq.server.jmx.Topic"
-	 name="jboss.mq.destination:service=Topic,name=testDurableTopic">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
-    <attribute name="SecurityConf">
-       <security>
-         <role name="guest" read="true" write="true"/>
-         <role name="publisher" read="true" write="true" create="false"/>
-         <role name="durpublisher" read="true" write="true" create="true"/>
-      </security>
-    </attribute>
-  </mbean>
-
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=testQueue">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
-    <attribute name="MessageCounterHistoryDayLimit">-1</attribute>
-    <attribute name="SecurityConf">
-      <security>
-        <role name="guest" read="true" write="true"/>
-        <role name="publisher" read="true" write="true" create="false"/>
-        <role name="noacc" read="false" write="false" create="false"/>
-      </security>
-    </attribute>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=A">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=B">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=C">
-	 <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=D">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=ex">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-
-</server>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. -->
+
+<!--DOCTYPE server
+    PUBLIC "-//JBoss//DTD MBean Service 4.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd"-->
+
+
+<!-- $Id$ -->
+
+<!-- 
+   | This file defines the default Queues and Topics that JBossMQ
+   | ships with.  The default Queues and Topics are used by the 
+   | JBoss test suite and by the sample jms programs.
+   |
+   | You can add other destinations to this file, or you can create other
+   | *-service.xml files to contain your application's destinations.
+ -->
+
+<server>
+  <!-- Destination without a configured SecurityManager or without a 
+       a SecurityConf will default to role guest with read=true, write=true,
+       create=false.
+  -->
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=testTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="guest" read="true" write="true"/>
+        <role name="publisher" read="true" write="true" create="false"/>
+        <role name="durpublisher" read="true" write="true" create="true"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=securedTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="publisher" read="true" write="true" create="false"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=testDurableTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+       <security>
+         <role name="guest" read="true" write="true"/>
+         <role name="publisher" read="true" write="true" create="false"/>
+         <role name="durpublisher" read="true" write="true" create="true"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=testQueue">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="MessageCounterHistoryDayLimit">-1</attribute>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="guest" read="true" write="true"/>
+        <role name="publisher" read="true" write="true" create="false"/>
+        <role name="noacc" read="false" write="false" create="false"/>
+      </security>
+    </attribute>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=A">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=B">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=C">
+	 <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=D">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=ex">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+</server>

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jbossmq-destinations-service.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jbossmq-destinations-service.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jbossmq-destinations-service.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-ds.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-ds.xml?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-ds.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-ds.xml Wed Aug  1 08:05:12 2007
@@ -1,77 +1,77 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License. -->
-
-<!--!DOCTYPE connection-factories
-    PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
-    "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"-->
-
-
-<connection-factories>
- 
-  <!-- ==================================================================== -->
-  <!-- JMS Stuff                                                            -->
-  <!-- ==================================================================== -->
-
-  <!-- The JMS provider loader -->
-  <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
-	 name="jboss.mq:service=JMSProviderLoader,name=JMSProvider">
-    <attribute name="ProviderName">DefaultJMSProvider</attribute>
-    <attribute name="ProviderAdapterClass">
-      org.jboss.jms.jndi.JNDIProviderAdapter
-    </attribute>
-    <!-- The combined connection factory -->
-    <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
-    <!-- The queue connection factory -->
-    <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
-    <!-- The topic factory -->
-    <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
-    <!-- Uncomment to use HAJNDI to access JMS
-    <attribute name="Properties">
-       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
-       java.naming.provider.url=localhost:1100
-    </attribute>
-    -->
-  </mbean>
-
-  <!-- The server session pool for Message Driven Beans -->
-  <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
-	 name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool">
-    <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
-    <attribute name="PoolName">StdJMSPool</attribute>
-    <attribute name="PoolFactoryClass">
-      org.jboss.jms.asf.StdServerSessionPoolFactory
-    </attribute>
-  </mbean>
-
-  <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
-  <tx-connection-factory>
-    <jndi-name>JmsXA</jndi-name>
-    <xa-transaction/>
-    <rar-name>jms-ra.rar</rar-name>
-    <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
-    <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
-    <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
-	<max-pool-size>11</max-pool-size>
-<!--
-	<min-pool-size>1</min-pool-size>
-	<blocking-timeout-millis>5001</blocking-timeout-millis> 
-	<idle-timeout-minutes>31</idle-timeout-minutes>
--->	
-    <security-domain-and-application>JmsXARealm</security-domain-and-application>
-  </tx-connection-factory>
-
-</connection-factories>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. -->
+
+<!--!DOCTYPE connection-factories
+    PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"-->
+
+
+<connection-factories>
+ 
+  <!-- ==================================================================== -->
+  <!-- JMS Stuff                                                            -->
+  <!-- ==================================================================== -->
+
+  <!-- The JMS provider loader -->
+  <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
+	 name="jboss.mq:service=JMSProviderLoader,name=JMSProvider">
+    <attribute name="ProviderName">DefaultJMSProvider</attribute>
+    <attribute name="ProviderAdapterClass">
+      org.jboss.jms.jndi.JNDIProviderAdapter
+    </attribute>
+    <!-- The combined connection factory -->
+    <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- The queue connection factory -->
+    <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- The topic factory -->
+    <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- Uncomment to use HAJNDI to access JMS
+    <attribute name="Properties">
+       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+       java.naming.provider.url=localhost:1100
+    </attribute>
+    -->
+  </mbean>
+
+  <!-- The server session pool for Message Driven Beans -->
+  <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
+	 name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool">
+    <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
+    <attribute name="PoolName">StdJMSPool</attribute>
+    <attribute name="PoolFactoryClass">
+      org.jboss.jms.asf.StdServerSessionPoolFactory
+    </attribute>
+  </mbean>
+
+  <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
+  <tx-connection-factory>
+    <jndi-name>JmsXA</jndi-name>
+    <xa-transaction/>
+    <rar-name>jms-ra.rar</rar-name>
+    <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
+    <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
+    <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
+	<max-pool-size>11</max-pool-size>
+<!--
+	<min-pool-size>1</min-pool-size>
+	<blocking-timeout-millis>5001</blocking-timeout-millis> 
+	<idle-timeout-minutes>31</idle-timeout-minutes>
+-->	
+    <security-domain-and-application>JmsXARealm</security-domain-and-application>
+  </tx-connection-factory>
+
+</connection-factories>

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-ds.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-ds.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-ds.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-geronimo-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-geronimo-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-geronimo-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/err/mail-service.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/err/mail-service.xml?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/err/mail-service.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/err/mail-service.xml Wed Aug  1 08:05:12 2007
@@ -1,54 +1,54 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License. -->
-<!-- DOCTYPE server -->
- <!-- $Id: mail-service.xml 546303 2007-06-11 22:11:35Z pmcmahan $ -->
-<server>
-
-  <!-- ==================================================================== -->
-  <!-- Mail Connection Factory                                              -->
-  <!-- ==================================================================== -->
-
-  <mbean code="org.jboss.mail.MailService"
-         name="jboss:service=Mail">
-    <attribute name="JNDIName">java:/Mail</attribute>
-    <attribute name="User">nobody</attribute>
-    <attribute name="Password">password</attribute>
-    <attribute name="Configuration">
-       <!-- Test -->
-       <configuration>
-          <!-- Change to your mail server prototocol -->
-          <property name="mail.store.protocol" value="pop3"/>
-          <property name="mail.transport.protocol" value="smtp"/>
-
-          <!-- Change to the user who will receive mail  -->
-          <property name="mail.user" value="nobody"/>
-
-          <!-- Change to the mail server  -->
-          <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
-
-          <!-- Change to the SMTP gateway server -->
-          <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
-
-          <!-- Change to the address mail will be from  -->
-          <property name="mail.from" value="nobody@nosuchhost.nosuchdomain.com"/>
-
-          <!-- Enable debugging output from the javamail classes -->
-          <property name="mail.debug" value="false"/>
-       </configuration>
-    </attribute>
-  </mbean>
-
-</server>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. -->
+<!-- DOCTYPE server -->
+ <!-- $Id$ -->
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Mail Connection Factory                                              -->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.mail.MailService"
+         name="jboss:service=Mail">
+    <attribute name="JNDIName">java:/Mail</attribute>
+    <attribute name="User">nobody</attribute>
+    <attribute name="Password">password</attribute>
+    <attribute name="Configuration">
+       <!-- Test -->
+       <configuration>
+          <!-- Change to your mail server prototocol -->
+          <property name="mail.store.protocol" value="pop3"/>
+          <property name="mail.transport.protocol" value="smtp"/>
+
+          <!-- Change to the user who will receive mail  -->
+          <property name="mail.user" value="nobody"/>
+
+          <!-- Change to the mail server  -->
+          <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
+
+          <!-- Change to the SMTP gateway server -->
+          <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
+
+          <!-- Change to the address mail will be from  -->
+          <property name="mail.from" value="nobody@nosuchhost.nosuchdomain.com"/>
+
+          <!-- Enable debugging output from the javamail classes -->
+          <property name="mail.debug" value="false"/>
+       </configuration>
+    </attribute>
+  </mbean>
+
+</server>

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/err/mail-service.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/err/mail-service.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/err/mail-service.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/geronimo-mail-service.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/geronimo-mail-service.xml?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/geronimo-mail-service.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/geronimo-mail-service.xml Wed Aug  1 08:05:12 2007
@@ -1,42 +1,42 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License. -->
- <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
-  <environment>
-    <moduleId>
-      <groupId>j2g</groupId>
-      <artifactId>Mail</artifactId>
-      <version>1.0</version>
-      <type>car</type>
-    </moduleId>
-    <dependencies>
-      <dependency>
-        <groupId>geronimo</groupId>
-        <artifactId>javamail</artifactId>
-      </dependency>
-    </dependencies>
-  </environment>
-  <gbean name="mailSession" class="org.apache.geronimo.mail.MailGBean">
-    <attribute name="properties">
-mail.store.protocol=pop3
-mail.transport.protocol=smtp
-mail.user=nobody
-mail.pop3.host=pop3.nosuchhost.nosuchdomain.com
-mail.smtp.host=smtp.nosuchhost.nosuchdomain.com
-mail.from=nobody@nosuchhost.nosuchdomain.com
-mail.debug=false
-    </attribute>   
-  </gbean>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. -->
+ <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
+  <environment>
+    <moduleId>
+      <groupId>j2g</groupId>
+      <artifactId>Mail</artifactId>
+      <version>1.0</version>
+      <type>car</type>
+    </moduleId>
+    <dependencies>
+      <dependency>
+        <groupId>geronimo</groupId>
+        <artifactId>javamail</artifactId>
+      </dependency>
+    </dependencies>
+  </environment>
+  <gbean name="mailSession" class="org.apache.geronimo.mail.MailGBean">
+    <attribute name="properties">
+mail.store.protocol=pop3
+mail.transport.protocol=smtp
+mail.user=nobody
+mail.pop3.host=pop3.nosuchhost.nosuchdomain.com
+mail.smtp.host=smtp.nosuchhost.nosuchdomain.com
+mail.from=nobody@nosuchhost.nosuchdomain.com
+mail.debug=false
+    </attribute>   
+  </gbean>
 </module>

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/geronimo-mail-service.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/geronimo-mail-service.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/geronimo-mail-service.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-geronimo-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-geronimo-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-service.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-service.xml?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-service.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-service.xml Wed Aug  1 08:05:12 2007
@@ -1,56 +1,56 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License. -->
-<!-- DOCTYPE server
-    PUBLIC "-//JBoss//DTD MBean Service 4.0//EN"
-    "http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd"-->
-<!-- $Id: mail-service.xml 546303 2007-06-11 22:11:35Z pmcmahan $ -->
-
-<server>
-
-  <!-- ==================================================================== -->
-  <!-- Mail Connection Factory                                              -->
-  <!-- ==================================================================== -->
-
-  <mbean code="org.jboss.mail.MailService"
-         name="jboss:service=Mail">
-    <attribute name="JNDIName">java:/Mail</attribute>
-    <attribute name="User">nobody</attribute>
-    <attribute name="Configuration">
-       <!-- Test -->
-       <configuration>
-          <!-- Change to your mail server prototocol -->
-          <property name="mail.store.protocol" value="pop3"/>
-          <property name="mail.transport.protocol" value="smtp"/>
-
-          <!-- Change to the user who will receive mail  -->
-          <property name="mail.user" value="nobody"/>
-
-          <!-- Change to the mail server  -->
-          <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
-
-          <!-- Change to the SMTP gateway server -->
-          <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
-
-          <!-- Change to the address mail will be from  -->
-          <property name="mail.from" value="nobody@nosuchhost.nosuchdomain.com"/>
-
-          <!-- Enable debugging output from the javamail classes -->
-          <property name="mail.debug" value="false"/>
-       </configuration>
-    </attribute>
-  </mbean>
-
-</server>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. -->
+<!-- DOCTYPE server
+    PUBLIC "-//JBoss//DTD MBean Service 4.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd"-->
+<!-- $Id$ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Mail Connection Factory                                              -->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.mail.MailService"
+         name="jboss:service=Mail">
+    <attribute name="JNDIName">java:/Mail</attribute>
+    <attribute name="User">nobody</attribute>
+    <attribute name="Configuration">
+       <!-- Test -->
+       <configuration>
+          <!-- Change to your mail server prototocol -->
+          <property name="mail.store.protocol" value="pop3"/>
+          <property name="mail.transport.protocol" value="smtp"/>
+
+          <!-- Change to the user who will receive mail  -->
+          <property name="mail.user" value="nobody"/>
+
+          <!-- Change to the mail server  -->
+          <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
+
+          <!-- Change to the SMTP gateway server -->
+          <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
+
+          <!-- Change to the address mail will be from  -->
+          <property name="mail.from" value="nobody@nosuchhost.nosuchdomain.com"/>
+
+          <!-- Enable debugging output from the javamail classes -->
+          <property name="mail.debug" value="false"/>
+       </configuration>
+    </attribute>
+  </mbean>
+
+</server>

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-service.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-service.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-service.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/geronimo-secutiry-plan.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/geronimo-secutiry-plan.xml?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/geronimo-secutiry-plan.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/geronimo-secutiry-plan.xml Wed Aug  1 08:05:12 2007
@@ -1,120 +1,120 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License. -->
- <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
-    <environment>
-        <moduleId>
-            <groupId>console</groupId>
-            <artifactId>realm-SecurityRealm</artifactId>
-            <version>1.0</version>
-            <type>car</type>
-        </moduleId>
-        <dependencies>
-            <dependency>
-                <groupId>geronimo</groupId>
-                <artifactId>j2ee-security</artifactId>
-                <type>car</type>
-            </dependency>
-        </dependencies>
-    </environment>
-    <gbean name="SecurityRealm" class="org.apache.geronimo.security.realm.GenericSecurityRealm">
-        <attribute name="realmName">SecurityRealm</attribute>
-        <reference name="ServerInfo">
-            <name>ServerInfo</name>
-        </reference>
-        <reference name="LoginService">
-            <name>JaasLoginService</name>
-        </reference>
-        <xml-reference name="LoginModuleConfiguration">
-            <log:login-config xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-1.1">
-                <log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
-                    <log:login-domain-name>SecurityRealm</log:login-domain-name>
-                    <log:login-module-class>org.apache.geronimo.security.realm.providers.LDAPLoginModule</log:login-module-class>
-                    <log:option name="roleSearchMatching">test</log:option>
-                    <log:option name="roleName">test</log:option>
-                    <log:option name="userSearchSubtree">test</log:option>
-                    <log:option name="roleBase">test</log:option>
-                    <log:option name="userRoleName">test</log:option>
-                    <log:option name="authentication">simple</log:option>
-                    <log:option name="connectionUsername">testname</log:option>
-                    <log:option name="connectionURL">ldap://localhost:1389</log:option>
-                    <log:option name="userBase">test</log:option>
-                    <log:option name="initialContextFactory">test</log:option>
-                    <log:option name="roleSearchSubtree">test</log:option>
-                    <log:option name="connectionPassword">testpwd</log:option>
-                    <log:option name="userSearchMatching">test</log:option>
-                </log:login-module>
-                <log:login-module control-flag="OPTIONAL" server-side="true" wrap-principals="false">
-                    <log:login-domain-name>SecurityRealm-Password</log:login-domain-name>
-                    <log:login-module-class>org.apache.geronimo.security.realm.providers.GeronimoPasswordCredentialLoginModule</log:login-module-class>
-                </log:login-module>
-                <log:login-module control-flag="OPTIONAL" server-side="true" wrap-principals="false">
-                    <log:login-domain-name>SecurityRealm-Audit</log:login-domain-name>
-                    <log:login-module-class>org.apache.geronimo.security.realm.providers.FileAuditLoginModule</log:login-module-class>
-                    <log:option name="file">~/tmp/test.log</log:option>
-                </log:login-module>
-                <log:login-module control-flag="REQUISITE" server-side="true" wrap-principals="false">
-                    <log:login-domain-name>SecurityRealm-Lockout</log:login-domain-name>
-                    <log:login-module-class>org.apache.geronimo.security.realm.providers.RepeatedFailureLockoutLoginModule</log:login-module-class>
-                    <log:option name="lockoutDurationSecs">80</log:option>
-                    <log:option name="failurePeriodSecs">80</log:option>
-                    <log:option name="failureCount">80</log:option>
-                </log:login-module>
-				<!-- test -->
-				   <log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
-                    <log:login-domain-name>geronimo-properties-realm</log:login-domain-name>
-                    <log:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</log:login-module-class>
-                    <log:option name="usersURI">var/security/users.properties</log:option>
-                    <log:option name="groupsURI">var/security/groups.properties</log:option>
-                </log:login-module>
-				<!-- database-->
-				 <log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
-                    <log:login-domain-name>TestDBSR</log:login-domain-name>
-                    <log:login-module-class>org.apache.geronimo.security.realm.providers.SQLLoginModule</log:login-module-class>
-                    <log:option name="userSelect">user select sql</log:option>
-                    <log:option name="jdbcDriver">com.mysql.jdbc.Driver</log:option>
-                    <log:option name="jdbcUser">jdbc user name</log:option>
-                    <log:option name="groupSelect">group select sql</log:option>
-                    <log:option name="jdbcPassword">jdbc user name</log:option>
-                    <log:option name="jdbcURL">jdbc url</log:option>
-				</log:login-module>
-				<!-- LDAP -->
-					<log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
-                    <log:login-domain-name>NameLdapSR</log:login-domain-name>
-                    <log:login-module-class>org.apache.geronimo.security.realm.providers.LDAPLoginModule</log:login-module-class>
-                    <log:option name="connectionProtocol">protocol</log:option>
-                    <log:option name="roleSearchMatching">RoleUserSearchiString</log:option>
-                    <log:option name="roleName">RoleName</log:option>
-                    <log:option name="userSearchSubtree">uesrsSearchSubTree</log:option>
-                    <log:option name="roleBase">RoleBase</log:option>
-                    <log:option name="userRoleName">UserRoleSearch</log:option>
-                    <log:option name="connectionUsername">usename</log:option>
-                    <log:option name="connectionURL">ConnectionURL</log:option>
-                    <log:option name="userBase">userbase</log:option>
-                    <log:option name="initialContextFactory">InitialContextFactory</log:option>
-                    <log:option name="roleSearchSubtree">RoleSearch</log:option>
-                    <log:option name="connectionPassword">passeotd</log:option>
-                    <log:option name="userSearchMatching">userSearchMatching</log:option>
-                </log:login-module>
-				<!-- Other -->
-				<log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
-                    <log:login-domain-name>NameSR</log:login-domain-name>
-                    <log:login-module-class>org.geronimo.test</log:login-module-class>
-                </log:login-module>
-					 
-            </log:login-config>
-        </xml-reference>
-    </gbean>
-</module>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. -->
+ <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
+    <environment>
+        <moduleId>
+            <groupId>console</groupId>
+            <artifactId>realm-SecurityRealm</artifactId>
+            <version>1.0</version>
+            <type>car</type>
+        </moduleId>
+        <dependencies>
+            <dependency>
+                <groupId>geronimo</groupId>
+                <artifactId>j2ee-security</artifactId>
+                <type>car</type>
+            </dependency>
+        </dependencies>
+    </environment>
+    <gbean name="SecurityRealm" class="org.apache.geronimo.security.realm.GenericSecurityRealm">
+        <attribute name="realmName">SecurityRealm</attribute>
+        <reference name="ServerInfo">
+            <name>ServerInfo</name>
+        </reference>
+        <reference name="LoginService">
+            <name>JaasLoginService</name>
+        </reference>
+        <xml-reference name="LoginModuleConfiguration">
+            <log:login-config xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-1.1">
+                <log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
+                    <log:login-domain-name>SecurityRealm</log:login-domain-name>
+                    <log:login-module-class>org.apache.geronimo.security.realm.providers.LDAPLoginModule</log:login-module-class>
+                    <log:option name="roleSearchMatching">test</log:option>
+                    <log:option name="roleName">test</log:option>
+                    <log:option name="userSearchSubtree">test</log:option>
+                    <log:option name="roleBase">test</log:option>
+                    <log:option name="userRoleName">test</log:option>
+                    <log:option name="authentication">simple</log:option>
+                    <log:option name="connectionUsername">testname</log:option>
+                    <log:option name="connectionURL">ldap://localhost:1389</log:option>
+                    <log:option name="userBase">test</log:option>
+                    <log:option name="initialContextFactory">test</log:option>
+                    <log:option name="roleSearchSubtree">test</log:option>
+                    <log:option name="connectionPassword">testpwd</log:option>
+                    <log:option name="userSearchMatching">test</log:option>
+                </log:login-module>
+                <log:login-module control-flag="OPTIONAL" server-side="true" wrap-principals="false">
+                    <log:login-domain-name>SecurityRealm-Password</log:login-domain-name>
+                    <log:login-module-class>org.apache.geronimo.security.realm.providers.GeronimoPasswordCredentialLoginModule</log:login-module-class>
+                </log:login-module>
+                <log:login-module control-flag="OPTIONAL" server-side="true" wrap-principals="false">
+                    <log:login-domain-name>SecurityRealm-Audit</log:login-domain-name>
+                    <log:login-module-class>org.apache.geronimo.security.realm.providers.FileAuditLoginModule</log:login-module-class>
+                    <log:option name="file">~/tmp/test.log</log:option>
+                </log:login-module>
+                <log:login-module control-flag="REQUISITE" server-side="true" wrap-principals="false">
+                    <log:login-domain-name>SecurityRealm-Lockout</log:login-domain-name>
+                    <log:login-module-class>org.apache.geronimo.security.realm.providers.RepeatedFailureLockoutLoginModule</log:login-module-class>
+                    <log:option name="lockoutDurationSecs">80</log:option>
+                    <log:option name="failurePeriodSecs">80</log:option>
+                    <log:option name="failureCount">80</log:option>
+                </log:login-module>
+				<!-- test -->
+				   <log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
+                    <log:login-domain-name>geronimo-properties-realm</log:login-domain-name>
+                    <log:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</log:login-module-class>
+                    <log:option name="usersURI">var/security/users.properties</log:option>
+                    <log:option name="groupsURI">var/security/groups.properties</log:option>
+                </log:login-module>
+				<!-- database-->
+				 <log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
+                    <log:login-domain-name>TestDBSR</log:login-domain-name>
+                    <log:login-module-class>org.apache.geronimo.security.realm.providers.SQLLoginModule</log:login-module-class>
+                    <log:option name="userSelect">user select sql</log:option>
+                    <log:option name="jdbcDriver">com.mysql.jdbc.Driver</log:option>
+                    <log:option name="jdbcUser">jdbc user name</log:option>
+                    <log:option name="groupSelect">group select sql</log:option>
+                    <log:option name="jdbcPassword">jdbc user name</log:option>
+                    <log:option name="jdbcURL">jdbc url</log:option>
+				</log:login-module>
+				<!-- LDAP -->
+					<log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
+                    <log:login-domain-name>NameLdapSR</log:login-domain-name>
+                    <log:login-module-class>org.apache.geronimo.security.realm.providers.LDAPLoginModule</log:login-module-class>
+                    <log:option name="connectionProtocol">protocol</log:option>
+                    <log:option name="roleSearchMatching">RoleUserSearchiString</log:option>
+                    <log:option name="roleName">RoleName</log:option>
+                    <log:option name="userSearchSubtree">uesrsSearchSubTree</log:option>
+                    <log:option name="roleBase">RoleBase</log:option>
+                    <log:option name="userRoleName">UserRoleSearch</log:option>
+                    <log:option name="connectionUsername">usename</log:option>
+                    <log:option name="connectionURL">ConnectionURL</log:option>
+                    <log:option name="userBase">userbase</log:option>
+                    <log:option name="initialContextFactory">InitialContextFactory</log:option>
+                    <log:option name="roleSearchSubtree">RoleSearch</log:option>
+                    <log:option name="connectionPassword">passeotd</log:option>
+                    <log:option name="userSearchMatching">userSearchMatching</log:option>
+                </log:login-module>
+				<!-- Other -->
+				<log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
+                    <log:login-domain-name>NameSR</log:login-domain-name>
+                    <log:login-module-class>org.geronimo.test</log:login-module-class>
+                </log:login-module>
+					 
+            </log:login-config>
+        </xml-reference>
+    </gbean>
+</module>

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/geronimo-secutiry-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/geronimo-secutiry-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/geronimo-secutiry-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/login-config.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/login-config.xml?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/login-config.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/login-config.xml Wed Aug  1 08:05:12 2007
@@ -1,206 +1,206 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License. -->
-<!-- DOCTYPE policy PUBLIC
-      "-//JBoss//DTD JBOSS Security Config 3.0//EN"
-      "http://www.jboss.org/j2ee/dtd/security_config.dtd" -->
-
-<!-- The XML based JAAS login configuration read by the
-org.jboss.security.auth.login.XMLLoginConfig mbean. Add
-an application-policy element for each security domain.
-
-The outline of the application-policy is:
-<application-policy name="security-domain-name">
-  <authentication>
-    <login-module code="login.module1.class.name" flag="control_flag">
-      <module-option name = "option1-name">option1-value</module-option>
-      <module-option name = "option2-name">option2-value</module-option>
-      ...
-    </login-module>
-
-    <login-module code="login.module2.class.name" flag="control_flag">
-      ...
-    </login-module>
-    ...
-  </authentication>
-</application-policy>
-
-$Revision: 546303 $
--->
-
-<policy>
-    <!-- Used by clients within the application server VM such as
-    mbeans and servlets that access EJBs.
-    -->
-    <application-policy name = "client-login">
-       <authentication>
-          <login-module code = "org.jboss.security.ClientLoginModule"
-             flag = "required">
-          </login-module>
-       </authentication>
-    </application-policy>
-
-    <!-- Security domain for JBossMQ -->
-    <application-policy name = "jbossmq">
-       <authentication>
-          <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
-             flag = "required">
-             <module-option name = "unauthenticatedIdentity">guest</module-option>
-             <module-option name = "dsJndiName">java:/DefaultDS/Test</module-option>
-             <module-option name = "principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
-             <module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
-          </login-module>
-       </authentication>
-    </application-policy>
-
-    <!-- Security domain for JBossMQ when using file-state-service.xml
-    <application-policy name = "jbossmq">
-       <authentication>
-          <login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
-             flag = "required">
-             <module-option name = "unauthenticatedIdentity">guest</module-option>
-             <module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
-          </login-module>
-       </authentication>
-    </application-policy>
-    -->
-
-    <!-- Security domains for testing new jca framework -->
-    <application-policy name = "HsqlDbRealm">
-       <authentication>
-          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
-             flag = "required">
-             <module-option name = "principal">sa</module-option>
-             <module-option name = "userName">sa</module-option>
-             <module-option name = "password"></module-option>
-             <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
-          </login-module>
-       </authentication>
-    </application-policy>
-
-    <application-policy name = "JmsXARealm">
-       <authentication>
-          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
-             flag = "required">
-             <module-option name = "principal">guest</module-option>
-             <module-option name = "userName">guest</module-option>
-             <module-option name = "password">guest</module-option>
-             <module-option name = "managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
-          </login-module>
-       </authentication>
-    </application-policy>
-
-    <!-- A template configuration for the jmx-console web application. This
-      defaults to the UsersRolesLoginModule the same as other and should be
-      changed to a stronger authentication mechanism as required.
-    -->
-    <application-policy name = "jmx-console">
-       <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>
-          </login-module>
-       </authentication>
-    </application-policy>
-
-    <!-- A template configuration for the web-console web application. This
-      defaults to the UsersRolesLoginModule the same as other and should be
-      changed to a stronger authentication mechanism as required.
-    -->
-    <application-policy name = "web-console">
-       <authentication>
-          <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-             flag = "required">
-             <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>
-
-    <!-- A template configuration for the JBossWS web application (and transport layer!).
-      This defaults to the UsersRolesLoginModule the same as other and should be
-      changed to a stronger authentication mechanism as required.
-    -->
-    <application-policy name="JBossWS">
-      <authentication>
-        <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-          flag="required">
-          <module-option name="unauthenticatedIdentity">anonymous</module-option>
-        </login-module>
-      </authentication>
-    </application-policy>
-
-    <!-- The default login configuration used by any security domain that
-    does not have a application-policy entry with a matching name
-    -->
-    <application-policy name = "other">
-       <!-- A simple server login module, which can be used when the number 
-       of users is relatively small. It uses two properties files:
-       users.properties, which holds users (key) and their password (value).
-       roles.properties, which holds users (key) and a comma-separated list of
-       their roles (value).
-       The unauthenticatedIdentity property defines the name of the principal
-       that will be used when a null username and password are presented as is
-       the case for an unuathenticated web client or MDB. If you want to
-       allow such users to be authenticated add the property, e.g.,
-       unauthenticatedIdentity="nobody"
-       -->
-       <authentication>
-          <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
-             flag = "required" />
-       </authentication>
-    </application-policy>
-	
-	    <!-- This is the test 1 LDAP JBoss Configuration    -->
-	    <application-policy name="testLDAP1"> 
-        <authentication>
-         <login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required">
-                <module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
-                <module-option name="java.naming.provider.url">ldap://ldaphost.jboss.org:1389/</module-option>
-                <module-option name="java.naming.security.protocol">ssl</module-option>
-                <module-option name="java.naming.security.authentication">simple</module-option>
-                <module-option name="principalDNPrefix">uid=</module-option>                    
-                <module-option name="principalDNSuffix">test=test,ou=People,dc=jboss,dc=org</module-option>
-                <module-option name="rolesCtxDN">ou=Roles,dc=jboss,dc=org</module-option>
-                <module-option name="uidAttributeID">member</module-option>
-                <module-option name="matchOnUserDN">true</module-option>
-                <module-option name="roleAttributeID">cn</module-option>
-                <module-option name="roleAttributeIsDN">false </module-option>
-          </login-module>
-       </authentication>
-    </application-policy>
-	
-		    <!-- This is the test 2 LDAP JBoss Configuration    -->
-	    <application-policy name="testLDAP2"> 
-        <authentication>
-         <login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required">
-                <module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
-                <module-option name="java.naming.provider.url">ldap://ldaphost.jboss.org:1389/</module-option>
-                <module-option name="java.naming.security.protocol">tcp</module-option>
-                <module-option name="java.naming.security.authentication">simple</module-option>
-                <module-option name="principalDNPrefix">uid=</module-option>                    
-                <module-option name="principalDNSuffix">,ou=People,dc=jboss,dc=org</module-option>
-                <module-option name="rolesCtxDN">ou=Roles,dc=jboss,dc=org</module-option>
-                <module-option name="uidAttributeID">member</module-option>
-                <module-option name="matchOnUserDN">true</module-option>
-                <module-option name="roleAttributeID">cn</module-option>
-                <module-option name="roleAttributeIsDN">false </module-option>
-          </login-module>
-       </authentication>
-    </application-policy>
-
-</policy>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. -->
+<!-- DOCTYPE policy PUBLIC
+      "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+      "http://www.jboss.org/j2ee/dtd/security_config.dtd" -->
+
+<!-- The XML based JAAS login configuration read by the
+org.jboss.security.auth.login.XMLLoginConfig mbean. Add
+an application-policy element for each security domain.
+
+The outline of the application-policy is:
+<application-policy name="security-domain-name">
+  <authentication>
+    <login-module code="login.module1.class.name" flag="control_flag">
+      <module-option name = "option1-name">option1-value</module-option>
+      <module-option name = "option2-name">option2-value</module-option>
+      ...
+    </login-module>
+
+    <login-module code="login.module2.class.name" flag="control_flag">
+      ...
+    </login-module>
+    ...
+  </authentication>
+</application-policy>
+
+$Revision$
+-->
+
+<policy>
+    <!-- Used by clients within the application server VM such as
+    mbeans and servlets that access EJBs.
+    -->
+    <application-policy name = "client-login">
+       <authentication>
+          <login-module code = "org.jboss.security.ClientLoginModule"
+             flag = "required">
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- Security domain for JBossMQ -->
+    <application-policy name = "jbossmq">
+       <authentication>
+          <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
+             flag = "required">
+             <module-option name = "unauthenticatedIdentity">guest</module-option>
+             <module-option name = "dsJndiName">java:/DefaultDS/Test</module-option>
+             <module-option name = "principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
+             <module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- Security domain for JBossMQ when using file-state-service.xml
+    <application-policy name = "jbossmq">
+       <authentication>
+          <login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
+             flag = "required">
+             <module-option name = "unauthenticatedIdentity">guest</module-option>
+             <module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+    -->
+
+    <!-- Security domains for testing new jca framework -->
+    <application-policy name = "HsqlDbRealm">
+       <authentication>
+          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
+             flag = "required">
+             <module-option name = "principal">sa</module-option>
+             <module-option name = "userName">sa</module-option>
+             <module-option name = "password"></module-option>
+             <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <application-policy name = "JmsXARealm">
+       <authentication>
+          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
+             flag = "required">
+             <module-option name = "principal">guest</module-option>
+             <module-option name = "userName">guest</module-option>
+             <module-option name = "password">guest</module-option>
+             <module-option name = "managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- A template configuration for the jmx-console web application. This
+      defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name = "jmx-console">
+       <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>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- A template configuration for the web-console web application. This
+      defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name = "web-console">
+       <authentication>
+          <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+             flag = "required">
+             <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>
+
+    <!-- A template configuration for the JBossWS web application (and transport layer!).
+      This defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name="JBossWS">
+      <authentication>
+        <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+          flag="required">
+          <module-option name="unauthenticatedIdentity">anonymous</module-option>
+        </login-module>
+      </authentication>
+    </application-policy>
+
+    <!-- The default login configuration used by any security domain that
+    does not have a application-policy entry with a matching name
+    -->
+    <application-policy name = "other">
+       <!-- A simple server login module, which can be used when the number 
+       of users is relatively small. It uses two properties files:
+       users.properties, which holds users (key) and their password (value).
+       roles.properties, which holds users (key) and a comma-separated list of
+       their roles (value).
+       The unauthenticatedIdentity property defines the name of the principal
+       that will be used when a null username and password are presented as is
+       the case for an unuathenticated web client or MDB. If you want to
+       allow such users to be authenticated add the property, e.g.,
+       unauthenticatedIdentity="nobody"
+       -->
+       <authentication>
+          <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
+             flag = "required" />
+       </authentication>
+    </application-policy>
+	
+	    <!-- This is the test 1 LDAP JBoss Configuration    -->
+	    <application-policy name="testLDAP1"> 
+        <authentication>
+         <login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required">
+                <module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
+                <module-option name="java.naming.provider.url">ldap://ldaphost.jboss.org:1389/</module-option>
+                <module-option name="java.naming.security.protocol">ssl</module-option>
+                <module-option name="java.naming.security.authentication">simple</module-option>
+                <module-option name="principalDNPrefix">uid=</module-option>                    
+                <module-option name="principalDNSuffix">test=test,ou=People,dc=jboss,dc=org</module-option>
+                <module-option name="rolesCtxDN">ou=Roles,dc=jboss,dc=org</module-option>
+                <module-option name="uidAttributeID">member</module-option>
+                <module-option name="matchOnUserDN">true</module-option>
+                <module-option name="roleAttributeID">cn</module-option>
+                <module-option name="roleAttributeIsDN">false </module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+	
+		    <!-- This is the test 2 LDAP JBoss Configuration    -->
+	    <application-policy name="testLDAP2"> 
+        <authentication>
+         <login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required">
+                <module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
+                <module-option name="java.naming.provider.url">ldap://ldaphost.jboss.org:1389/</module-option>
+                <module-option name="java.naming.security.protocol">tcp</module-option>
+                <module-option name="java.naming.security.authentication">simple</module-option>
+                <module-option name="principalDNPrefix">uid=</module-option>                    
+                <module-option name="principalDNSuffix">,ou=People,dc=jboss,dc=org</module-option>
+                <module-option name="rolesCtxDN">ou=Roles,dc=jboss,dc=org</module-option>
+                <module-option name="uidAttributeID">member</module-option>
+                <module-option name="matchOnUserDN">true</module-option>
+                <module-option name="roleAttributeID">cn</module-option>
+                <module-option name="roleAttributeIsDN">false </module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+</policy>
+

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/login-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/login-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/login-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-geronimo-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-geronimo-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-geronimo-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message