You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Sandro Salari (JIRA)" <ji...@apache.org> on 2014/06/19 10:12:24 UTC
[jira] [Updated] (AMQ-5233) MQTT broker with ACL, try to connect
using bad credential sends first connection event and next disconnect event
to client
[ https://issues.apache.org/jira/browse/AMQ-5233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandro Salari updated AMQ-5233:
-------------------------------
Summary: MQTT broker with ACL, try to connect using bad credential sends first connection event and next disconnect event to client (was: MQTT broker with ACL, try to connect using bad credential sends first connection event and after disconnect event to client )
> MQTT broker with ACL, try to connect using bad credential sends first connection event and next disconnect event to client
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-5233
> URL: https://issues.apache.org/jira/browse/AMQ-5233
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.9.1
> Environment: Windows 7 - 64 bit
> Eclipse Kepler
> JDK 1.7
> Spring 4.0
> MosquittoLib (C) on iOS
> Reporter: Sandro Salari
> Priority: Minor
> Labels: acl, broker, connection, disconnection, mqtt
>
> Configure broker with :
> <amq:broker useJmx="false" persistent="false">
> <amq:transportConnectors>
> <amq:transportConnector name="mqtt" uri="${jms.brokerurl}">
> </amq:transportConnectors>
> <amq:networkConnectors/>
> <amq:plugins>
> <amq:simpleAuthenticationPlugin>
> <amq:users>
> <amq:authenticationUser username="test" password="test" groups="admins,guests,users" />
> </amq:users>
> </amq:simpleAuthenticationPlugin>
> <amq:authorizationPlugin>
> <amq:map>
> <amq:authorizationMap>
> <amq:authorizationEntries>
> <amq:authorizationEntry queue=">" read="admins" write="admins" admin="admins" />
> <amq:authorizationEntry topic=">" read="admins" write="admins" admin="admins" />
> <amq:authorizationEntry topic="ActiveMQ.Advisory.>" read="admins" write="admins" admin="admins"/>
> </amq:authorizationEntries>
> </amq:authorizationMap>
> </amq:map>
> </amq:authorizationPlugin>
> </amq:plugins>
> </amq:broker>
> Connecting with mosquittolib (C) with bad credential rise first "on_connection" event as the connection is OK, and next "on_disconnection" event. Expected behavior is failed connection with BAD CREDENTIAL reported error form broker.
--
This message was sent by Atlassian JIRA
(v6.2#6252)