geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r552073 [2/2] - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-jee5/src/main/resources/var/config/ assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ assemblies/geronimo-jetty6-jee5/ assemblies/geronimo-jetty...
Date Sat, 30 Jun 2007 01:10:53 GMT
Added: geronimo/server/trunk/testsuite/deployment-testsuite/jca-cms-tests/src/main/resources/jca-cms-rar.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/deployment-testsuite/jca-cms-tests/src/main/resources/jca-cms-rar.xml?view=auto&rev=552073
==============================================================================
--- geronimo/server/trunk/testsuite/deployment-testsuite/jca-cms-tests/src/main/resources/jca-cms-rar.xml
(added)
+++ geronimo/server/trunk/testsuite/deployment-testsuite/jca-cms-tests/src/main/resources/jca-cms-rar.xml
Fri Jun 29 18:10:51 2007
@@ -0,0 +1,112 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
+    <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+        <moduleId>
+            <groupId>org.apache.geronimo.testsuite</groupId>
+            <artifactId>jca-cms-rar</artifactId>
+            <version>2.0</version>
+            <type>car</type>
+        </moduleId>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.geronimo.configs</groupId>
+                <artifactId>system-database</artifactId>
+                <type>car</type>
+            </dependency>
+        </dependencies>
+    </environment>
+    <resourceadapter>
+        <outbound-resourceadapter>
+            <connection-definition>
+                <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
+                <connectiondefinition-instance>
+                    <name>cmsds</name>
+                    <!--<config-property-setting name="UserName"></config-property-setting>-->
+                    <!--<config-property-setting name="Password"></config-property-setting>-->
+                    <config-property-setting name="DatabaseName">TestDatabase</config-property-setting>
+                    <config-property-setting name="CreateDatabase">false</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-all/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+                <connectiondefinition-instance>
+                    <name>configuredsecurityds</name>
+                    <config-property-setting name="UserName">system</config-property-setting>
+                    <config-property-setting name="Password">manager</config-property-setting>
+                    <config-property-setting name="DatabaseName">TestDatabase</config-property-setting>
+                    <config-property-setting name="CreateDatabase">true</config-property-setting>
+                    <connectionmanager>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <single-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <select-one-assume-match/>
+                        </single-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+            </connection-definition>
+        </outbound-resourceadapter>
+    </resourceadapter>
+    <gbean name="test-cms-realm"
+           class="org.apache.geronimo.security.realm.GenericSecurityRealm">
+        <attribute name="realmName">test-cms-realm</attribute>
+        <xml-reference name="LoginModuleConfiguration">
+            <lc:login-config xmlns:lc="http://geronimo.apache.org/xml/ns/loginconfig-1.1">
+                <lc:login-module-ref control-flag="REQUIRED">
+                    <lc:pattern>
+                        <name xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">test-cms-credentials
+                        </name>
+                    </lc:pattern>
+                </lc:login-module-ref>
+            </lc:login-config>
+        </xml-reference>
+        <reference name="ServerInfo">
+            <name>ServerInfo</name>
+        </reference>
+        <reference name="LoginService">
+            <name>JaasLoginService</name>
+        </reference>
+    </gbean>
+    <gbean name="test-cms-credentials"
+           class="org.apache.geronimo.connector.outbound.security.PasswordCredentialLoginModuleWrapperGBean">
+        <attribute name="loginModuleClass">
+            org.apache.geronimo.connector.outbound.security.CallerIdentityPasswordCredentialLoginModule
+        </attribute>
+        <attribute name="serverSide">true</attribute>
+        <reference name="ManagedConnectionFactoryWrapper">
+            <name>cmsds</name>
+        </reference>
+        <attribute name="loginDomainName">test-cms-credentials</attribute>
+    </gbean>
+</connector>

Propchange: geronimo/server/trunk/testsuite/deployment-testsuite/jca-cms-tests/src/main/resources/jca-cms-rar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/deployment-testsuite/jca-cms-tests/src/main/resources/jca-cms-rar.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/deployment-testsuite/jca-cms-tests/src/main/resources/jca-cms-rar.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message