activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NashCat <steve.f...@lifeway.com>
Subject XMPP User is not authorized to create: temp-queue
Date Fri, 28 Jan 2011 14:23:21 GMT

I'm trying to get XMPP working, I can connect and join the ActiveMQ.Agent
conference but when I type help I get an error. I am using ActiveMQ 5.4 and
my XMPP client is Spark 2.0 on OSX.

When I connect I get this error:
java.lang.SecurityException: User mulesupport is not authorized to create:
temp-queue://ID:FA2275123.local-49410-1296053469145-4:0:1

When I send 'help' in the conference room I get this error:
 javax.jms.InvalidDestinationException: Cannot publish to a deleted
Destination: temp-queue://ID:FA2275123.local-49410-1296053469145-4:0:1
jvm 1    | at
org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1696)

Config:
        <simpleAuthenticationPlugin>
            <users>
                <authenticationUser username="system" password="manager"
groups="users,admins"/>
                <authenticationUser username="mulesupport" password="mule"
groups="users,admins"/>
                <authenticationUser username="guest" password="password"
groups="guests"/>
            </users>
        </simpleAuthenticationPlugin>

      <authorizationPlugin>
        <map>
          <authorizationMap>
            <authorizationEntries>
              <authorizationEntry queue=">" read="admins" write="admins"
admin="admins" />
              <authorizationEntry queue="USERS.>" read="users" write="users"
admin="users" />
              <authorizationEntry queue="GUEST.>" read="guests"
write="guests,users" admin="guests,users" />

              <authorizationEntry queue="TEST.Q" read="guests"
write="guests" />

              <authorizationEntry topic=">" read="admins" write="admins"
admin="admins" />
              <authorizationEntry topic="USERS.>" read="users" write="users"
admin="users" />
              <authorizationEntry topic="GUEST.>" read="guests"
write="guests,users" admin="guests,users" />

              <authorizationEntry topic="ActiveMQ.Advisory.>"
read="guests,users" write="guests,users" admin="guests,users"/>
            </authorizationEntries>
           <tempDestinationAuthorizationEntry>
             <tempDestinationAuthorizationEntry read="users,admin"
write="users,admin" admin="admin"/>
           </tempDestinationAuthorizationEntry>

          </authorizationMap>
        </map>
      </authorizationPlugin>

Does anyone have a suggestion about what I am doing wrong? 
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/XMPP-User-is-not-authorized-to-create-temp-queue-tp3244576p3244576.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message