0 Replies Latest reply on Dec 5, 2002 3:37 AM by Uri

    Securing JMS queues

    Uri Newbie

      I failed in securing the JMS queues (I'm using JBoss 3.0.2). Here what I've done:
      1. In the "jbossmq-destinations-service.xml" - I've added a security configuration to the queues, allowing an "InternalRole" to read and write :
      <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager

      2. I've added an "InternalRole" to the "jbossmq-state.xml" which is mapped to user1.
      3. In the "login-config.xml", I've moved the <module-option name="unauthenticatedIdentity">guest</module-option> from the jbossmq application policy.
      4. I've added to the jboss.xml the following
      In order to authenticate my MDB.

      Still I get an error:
      javax.jms.JMSSecurityException: User: null is NOT authenticated

      Did I do something wrong?