0 Replies Latest reply on Nov 10, 2005 10:41 AM by homer simpson

    javax.jms.JMSSecurityException: Connection not authorized to

    homer simpson Newbie

      Hi guys,

      I am a JBoss newbie using JBoss 4.0.3

      My server has several queues which I would like to protect using the security domain.

      When I add the securityManager to the interceptors chain and define a new <application-policy> (with a default unathenticatedIdentity) I encounter the following problem.

      My ejbs are deployed but when my mbean try to connect to the queue it gets: javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination

      I have tried to add to the bean run-as role tags or mdb-user and mdb-passwd tags but nothing seems to work.

      What am I missing ???
      Help please