2 Replies Latest reply on Jul 9, 2012 3:46 AM by jw

    How can I define the caller identity of an ejb timer ?

    jw Newbie

      How can I define the identity used by an ejb timer?

       

      In JBoss 4.x I've defined the identity in jboss.xml:

       

      {code:xml}

      <jboss xmlns="http://www.jboss.com/xml/ns/javaee"

                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                   xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee

                                  http://www.jboss.org/j2ee/schema/jboss_5_1.xsd"

                   version="5.1">

       

           <enterprise-beans>

               <session>

                   <ejb-name>MySchedulerBean</ejb-name>

                   <ejb-timeout-identity>

                       <run-as-principal>system</run-as-principal>

                   </ejb-timeout-identity>

              </session>

          </enterprise-beans>

      </jboss>

      {code}

       

       

      What's the corresponding configuration in jboss-ejb3.xml ?

      Are there any xsd or examples around?