6 Replies Latest reply on Feb 5, 2004 10:35 AM by Scott Stark

    Help with Security and MDB

    zumbiehl Newbie

      Hi,

      Could you please help me with a configuration problem with my MDB.

      I am running an MDB with a Container configuration linked to a security domain.

      when the MDB creates a Session Bean , I systematically get a security exception (Principal = null) even if I run the MDB with appropriate role in
      <run-as> in ejb-jar.

      My MDB and session beans use the same security domain.

      If I remove the container configuration in the session bean, every thing works fine.

      Is there a way to allow secured MDB invoking secured session beans ? or MDB can only invoke unsecured session beans ..

      Thanks for your help
      christian