<?xml version="1.0"?>
<!DOCTYPE jboss PUBLIC
   "-//JBoss//DTD JBOSS 4.0//EN"
   "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">

<!-- The jboss.xml descriptor for the security-spec.jar ejb unit.
This descriptor redefines the JNDI names of the beans in the ejb-jar.xml
descriptor so that there is no conflict with the security.jar deployment.
-->
<jboss>
   <security-domain>
      java:/jaas/sfsb-security-test
   </security-domain>
   <unauthenticated-principal>nobody</unauthenticated-principal>

   <enterprise-beans>
      <session>
         <ejb-name>RunAsStatefulSession</ejb-name>
         <jndi-name>spec.RunAsStatefulSession</jndi-name>
      </session>
      <session>
         <ejb-name>StatefulSession</ejb-name>
         <jndi-name>spec.StatefulSession</jndi-name>
         <ejb-ref>
            <ejb-ref-name>ejb/RunAsSFSB</ejb-ref-name>
            <jndi-name>spec.RunAsStatefulSession</jndi-name>
         </ejb-ref>
      </session>
   </enterprise-beans>
</jboss>
