1 Reply Latest reply on Jul 14, 2002 1:18 PM by Andreas Schaefer

    MessageDrivenBean security

    david findlay Newbie

      How do I configure an MDB so its driving Queue or Topic has security on it?

      e.g. if I give role R read access to the Queue or Topic, I would expect the MDB to be able to access it if I specifed role R in its ejb-jar.xml as:
      <security-identity><run-as><role-name>R</role-name></run-as></security-identity>

      but I get an error when I deploy the MDB saying "not authorized to connect to the destination"