1 Reply Latest reply on Apr 25, 2004 4:44 AM by rsoika

    No method permissions assigned to method=create, interface=H

    rsoika

      Hi,

      can anyone give a little hint what is wrong if i got this Error Methode:

      No method permissions assigned to method=create, interface=HOME

      I deployed a set of EJBs (first in WebSphere, than in JBoss) successfull.
      I also defined a security-domain in jboss.xml and UsersRolesLoginModule login-conf.
      authentifcation works fine!
      But if I try to invoke a EJB now I always got this error :-(

      my jboss.xml looks like this:


      <enforce-ejb-restrictions>true</enforce-ejb-restrictions>
      <security-domain>java:/jaas/mydomain</security-domain>
      <enterprise-beans>

      <ejb-name>ModelID</ejb-name>

      </enterprise-beans>



      Thanks for help!

        • 1. Re: No method permissions assigned to method=create, interfa
          rsoika

          I found out what was wrong.
          I forgot to define a method-permission section in my ejb-jar.xml.
          After defining a standard entry all seems to work fine

          <method-permission>
          <role-name>MyRole</role-name>

          <ejb-name>Document</ejb-name>
          <method-name>*</method-name>

          </method-permission>

          Thanks
          ralph soika