maguro 2005/03/07 23:08:36 Added: modules/itests/src/scenarios/003 ejb-jar.xml openejb-jar.xml Log:
Intermediate CORBA checkin. Revision Changes Path 1.1 openejb/modules/itests/src/scenarios/003/ejb-jar.xml Index: ejb-jar.xml =================================================================== <?xml version="1.0" encoding="US-ASCII"?> <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1"> <enterprise-beans> <session> <description> A basic stateless session bean with contianer-managed transaction demarcation. </description> <ejb-name>InteropBean</ejb-name> <home>org.openejb.test.interop.slsb.InteropHome</home> <remote>org.openejb.test.interop.slsb.Interop</remote> <local-home>org.openejb.test.interop.slsb.LocalInteropHome</local-home> <local>org.openejb.test.interop.slsb.LocalInterop</local> <ejb-class>org.openejb.test.interop.slsb.InteropBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> <ejb-ref> <ejb-ref-name>ejb/interop/InteropBean</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>org.openejb.test.security.slsb.BasicStatelessHome</home> <remote>org.openejb.test.security.slsb.BasicStateless</remote> </ejb-ref> </session> </enterprise-beans> <assembly-descriptor> <method-permission> <description>The description</description> <unchecked/> <method> <description>The description</description> <ejb-name>InteropBean</ejb-name> <method-name>callRemote</method-name> </method> <method> <description>The description</description> <ejb-name>InteropBean</ejb-name> <method-name>isInRole</method-name> </method> <method> <description>The description</description> <ejb-name>InteropBean</ejb-name> <method-name>create</method-name> </method> <method> <description>The description</description> <ejb-name>InteropBean</ejb-name> <method-name>remove</method-name> </method> </method-permission> <container-transaction> <method> <ejb-name>InteropBean</ejb-name> <method-name>*</method-name> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> </assembly-descriptor> </ejb-jar> 1.1 openejb/modules/itests/src/scenarios/003/openejb-jar.xml Index: openejb-jar.xml =================================================================== <?xml version="1.0"?> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" xmlns:sec="http://geronimo.apache.org/xml/ns/security" configId="org/openejb/scenario003" parentId="org/openejb/Security"> <dependency> <uri>junit/jars/junit-3.8.1.jar</uri> </dependency> <enterprise-beans> <session> <ejb-name>InteropBean</ejb-name> <jndi-name>interop/003/InteropHome</jndi-name> <ejb-ref> <ref-name>ejb/interop/InteropBean</ref-name> <ns-corbaloc>corbaloc::localhost:2809/NameService</ns-corbaloc> <name>security/001/BasicStatelessHome</name> <css-name>openejb.CORBA:type=CSS,domain=IOR7</css-name> </ejb-ref> </session> </enterprise-beans> <sec:security default-role="UNASSIGNED" doas-current-caller="true"> <sec:default-principal realm-name="public-properties-realm"> <sec:principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="guest"/> </sec:default-principal> </sec:security> </openejb-jar>
