1 Reply Latest reply on Sep 1, 2003 1:27 AM by tscondor

    No method permissions

    j2eekar

      Hi,
      I have a problem on JBoss security.I have
      Jboss: 3.2.2
      OS: Win-XP
      XDoclet: 1.1.2
      My Security domain added to login-config.xml and jboss.xml
      My ejb-jar.xml is correct about <method-permission/>
      Everything seems to be correct, but I get the following exception:
      -----------------------------
      23:04:05,198 ERROR [SecurityInterceptor] No method permissions assigned to method=findMember, interf
      ace=REMOTE
      23:04:05,498 ERROR [LogInterceptor] EJBException, causedBy:
      java.lang.SecurityException: No method permissions assigned to method=findMember, interface=REMOTE
      at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.ja
      va:179)
      ----------------------------------

      The exception is for REMOTE not for HOME interface.

        • 1. Re: No method permissions
          tscondor

          Hi!,
          in the your ejb-jar.xml it lacks the permission to method
          findMember.
          Remember to assing at all remote method the necessary permission for yours application.
          Bye

          Excuse my very bad english....