0 Replies Latest reply on Oct 25, 2009 4:36 PM by chopper

    JAAS: using sessionbean's home interface method "create" fro

      Hi friends:)

      i have 2 jboss instances:
      jboss A (4.2.3) running on interface 127.0.0.1 and deploying some session beans
      jboss B (5.0) running remotely on other network interface and deploying a MDB

      The MDB can read message from remote topic on A

      If i try to use the create method of a session bean on jboss A, i have a SecurityException:

      java.rmi.AccessException: SecurityException; nested exception is:
      java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=SourceServiceBean, method=create, interface=HOME, requiredRoles=[ENABLED, SUPEROWNER, INITIALIZER, INDEXER], principalRoles=[]

      There is something to add about JAAS, maybe in a jboss config file, but i don't know where.
      Can you help me please?

      Bye and thanks;)