User: starksm
Date: 01/05/21 20:20:24
Modified: src/resources/security/META-INF ejb-jar.xml jboss-spec.xml
Log:
Update ejb-refs
Revision Changes Path
1.3 +101 -80 jbosstest/src/resources/security/META-INF/ejb-jar.xml
Index: ejb-jar.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/resources/security/META-INF/ejb-jar.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ejb-jar.xml 2001/03/13 20:32:13 1.2
+++ ejb-jar.xml 2001/05/22 03:20:24 1.3
@@ -3,90 +3,111 @@
"http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
<ejb-jar>
- <display-name>SecurityTests</display-name>
- <enterprise-beans>
- <session>
- <description>A secured project repository stateful session bean</description>
- <ejb-name>ProjRepository</ejb-name>
- <home>org.jboss.test.security.interfaces.ProjRepositoryHome</home>
- <remote>org.jboss.test.security.interfaces.ProjRepository</remote>
- <ejb-class>org.jboss.test.security.ejb.project.ProjRepositoryBean</ejb-class>
- <session-type>Stateful</session-type>
- <transaction-type>Container</transaction-type>
- </session>
+ <display-name>SecurityTests</display-name>
+ <enterprise-beans>
+ <session>
+ <description>A secured project repository stateful session
bean</description>
+ <ejb-name>ProjRepository</ejb-name>
+ <home>org.jboss.test.security.interfaces.ProjRepositoryHome</home>
+ <remote>org.jboss.test.security.interfaces.ProjRepository</remote>
+
<ejb-class>org.jboss.test.security.ejb.project.ProjRepositoryBean</ejb-class>
+ <session-type>Stateful</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
- <session>
- <description>A secured trival echo session bean</description>
- <ejb-name>StatelessSession</ejb-name>
- <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
- <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
- <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- <!-- Use the 'EchoCaller' role name in the bean code to test role linking
- with use of isCallerInRole().
- -->
- <security-role-ref>
- <role-name>EchoCaller</role-name>
- <role-link>Echo</role-link>
- </security-role-ref>
- </session>
+ <session>
+ <description>A secured trival echo session bean</description>
+ <ejb-name>StatelessSession</ejb-name>
+ <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
+ <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
+ <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ <!-- Use the 'EchoCaller' role name in the bean code to test role
linking
+ with use of isCallerInRole().
+ -->
+ <security-role-ref>
+ <role-name>EchoCaller</role-name>
+ <role-link>Echo</role-link>
+ </security-role-ref>
+ </session>
- <session>
- <description>A secured trival echo session bean that uses Entity</description>
- <ejb-name>StatelessSession2</ejb-name>
- <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
- <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
- <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean2</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- <ejb-ref>
- <ejb-ref-name>Entity</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <ejb-link>Entity</ejb-link>
- <home>org.jboss.test.security.interfaces.EntityHome</home>
- <remote>org.jboss.test.security.interfaces.Entity</remote>
- </ejb-ref>
- <security-role-ref>
- <role-name>Echo</role-name>
- <role-link>Echo</role-link>
- </security-role-ref>
- </session>
+ <session>
+ <description>A secured trival echo session bean that uses
Entity</description>
+ <ejb-name>StatelessSession2</ejb-name>
+ <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
+ <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
+ <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean2</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Entity</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <ejb-link>Entity</ejb-link>
+ <home>org.jboss.test.security.interfaces.EntityHome</home>
+ <remote>org.jboss.test.security.interfaces.Entity</remote>
+ </ejb-ref>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Session</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <ejb-link>StatelessSession</ejb-link>
+ <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
+ <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
+ </ejb-ref>
+ <security-role-ref>
+ <role-name>Echo</role-name>
+ <role-link>Echo</role-link>
+ </security-role-ref>
+ </session>
- <session>
- <description>An unsecured trival echo session bean</description>
- <ejb-name>UnsecureStatelessSession</ejb-name>
- <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
- <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
- <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- </session>
- <session>
- <description>An unsecured trival echo session bean type 2</description>
- <ejb-name>UnsecureStatelessSession2</ejb-name>
- <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
- <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
- <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean2</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- </session>
+ <session>
+ <description>An unsecured trival echo session bean</description>
+ <ejb-name>UnsecureStatelessSession</ejb-name>
+ <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
+ <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
+ <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+ <session>
+ <description>An unsecured trival echo session bean type 2</description>
+ <ejb-name>UnsecureStatelessSession2</ejb-name>
+ <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
+ <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
+ <ejb-class>org.jboss.test.security.ejb.StatelessSessionBean2</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Entity</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <ejb-link>Entity</ejb-link>
+ <home>org.jboss.test.security.interfaces.EntityHome</home>
+ <remote>org.jboss.test.security.interfaces.Entity</remote>
+ </ejb-ref>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Session</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <ejb-link>StatelessSession</ejb-link>
+ <home>org.jboss.test.security.interfaces.StatelessSessionHome</home>
+ <remote>org.jboss.test.security.interfaces.StatelessSession</remote>
+ </ejb-ref>
+ </session>
- <entity>
- <description>A trival echo entity bean</description>
- <ejb-name>Entity</ejb-name>
- <home>org.jboss.test.security.interfaces.EntityHome</home>
- <remote>org.jboss.test.security.interfaces.Entity</remote>
- <ejb-class>org.jboss.test.security.ejb.EntityBeanImpl</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>False</reentrant>
- <security-role-ref>
- <role-name>Echo</role-name>
- <role-link>Echo</role-link>
- </security-role-ref>
- </entity>
- </enterprise-beans>
+ <entity>
+ <description>A trival echo entity bean</description>
+ <ejb-name>Entity</ejb-name>
+ <home>org.jboss.test.security.interfaces.EntityHome</home>
+ <remote>org.jboss.test.security.interfaces.Entity</remote>
+ <ejb-class>org.jboss.test.security.ejb.EntityBeanImpl</ejb-class>
+ <persistence-type>Bean</persistence-type>
+ <prim-key-class>java.lang.String</prim-key-class>
+ <reentrant>False</reentrant>
+ <security-role-ref>
+ <role-name>Echo</role-name>
+ <role-link>Echo</role-link>
+ </security-role-ref>
+ </entity>
+ </enterprise-beans>
<assembly-descriptor>
<security-role>
1.3 +20 -2 jbosstest/src/resources/security/META-INF/jboss-spec.xml
Index: jboss-spec.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/resources/security/META-INF/jboss-spec.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- jboss-spec.xml 2001/03/05 19:29:04 1.2
+++ jboss-spec.xml 2001/05/22 03:20:24 1.3
@@ -45,6 +45,10 @@
<enterprise-beans>
<session>
+ <ejb-name>Entity</ejb-name>
+ <jndi-name>spec.Entity</jndi-name>
+ </session>
+ <session>
<ejb-name>StatelessSession</ejb-name>
<jndi-name>spec.StatelessSession</jndi-name>
<configuration-name>Standard Stateless SessionBean</configuration-name>
@@ -53,6 +57,14 @@
<ejb-name>StatelessSession2</ejb-name>
<jndi-name>spec.StatelessSession2</jndi-name>
<configuration-name>Standard Stateless SessionBean</configuration-name>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Entity</ejb-ref-name>
+ <jndi-name>spec.Entity</jndi-name>
+ </ejb-ref>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Session</ejb-ref-name>
+ <jndi-name>spec.StatelessSession</jndi-name>
+ </ejb-ref>
</session>
<session>
<ejb-name>UnsecureStatelessSession</ejb-name>
@@ -63,8 +75,14 @@
<ejb-name>UnsecureStatelessSession2</ejb-name>
<jndi-name>spec.UnsecureStatelessSession2</jndi-name>
<configuration-name>Unsecure Stateless SessionBean</configuration-name>
- </session>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Entity</ejb-ref-name>
+ <jndi-name>spec.Entity</jndi-name>
+ </ejb-ref>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Session</ejb-ref-name>
+ <jndi-name>spec.StatelessSession</jndi-name>
+ </ejb-ref> </session>
</enterprise-beans>
</jboss>
-
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development