1 Reply Latest reply on Oct 29, 2001 10:26 AM by jwkaltz

    No method permissions assigned to method

    lderavet

      Hi,

      I'm new to JBoss and I try to use its security features using JBossSX. I'm facing a problem when I want to create a Stateless Session EJB called 'Authentication'.

      I receive this error:
      [Authentication] No method permissions assigned to method=create

      But in ejb-jar.xml I set up this:


      <assembly-descriptor>
      <security-role>
      <role-name>Echo</role-name>
      </security-role>

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

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

      </method-permission>
      </assembly-descriptor>


      The exception is thrown when a client tries to create the Authentication EJB after having received the remote home reference to that EJB. I also tried to replace <role-name>Echo</role-name> by but this does not change anything!!!

      Could someone tells me where I'm wrong since for me the ejb-jar.xml seems to be well configured.

      I'm using JBoss 2.4.3 under Windows2000 with JDK 1.3.0.

      Thanks for your help.

      Ludovic.