0 Replies Latest reply on Apr 5, 2005 7:26 AM by morenito9000

    <method-permission> section

    morenito9000 Newbie

      Hi all,
      I need to have, in ejb-jar.xml file, a section like this:

       <method-permission >
       <description></description>
       <role-name>Prg</role-name>
       <role-name>Lis</role-name>
       <method >
       <description></description>
       <ejb-name>Modify</ejb-name>
       <method-intf>Remote</method-intf>
       <method-name>remove</method-name>
       </method>
       </method-permission>
      


      In my bean's class which XDoclet tag I have to use
      to generate the above described section ?

      I tried with:

      /*
       * @ejb.interface-method view-type = "remote"
       * @ejb.permission role-name = "Prg,Lis"
       */
      public void ejbRemove() {
      }
      


      but it doesn't run.

      Any suggest is appreciated,
      thank you very much
      Moreno