You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2022/08/01 16:21:00 UTC
[jira] [Closed] (ARTEMIS-3910) Artemis 插件开发时,客户端鉴权失败后,不能返回 MQTTReasonCodes.CLIENT_IDENTIFIER_NOT_VALID
[ https://issues.apache.org/jira/browse/ARTEMIS-3910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram closed ARTEMIS-3910.
-----------------------------------
Resolution: Invalid
Descriptions of issues need to be in English.
> Artemis 插件开发时,客户端鉴权失败后,不能返回 MQTTReasonCodes.CLIENT_IDENTIFIER_NOT_VALID
> -----------------------------------------------------------------------
>
> Key: ARTEMIS-3910
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3910
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 2.23.1
> Reporter: gongping.zhu
> Priority: Major
>
> 插件接口只抛出ActiveMQException,但是
> ActiveMQExceptionType有没有定义,无效客户端Id的错误码,同时
> MQTTProtocolHandler在执行act的时候,没有区分错误原因,统一返回了断开连接的code给到客户端;
>
> 期望在插件验证后直接给到自己想要的错误码给到客户端
--
This message was sent by Atlassian Jira
(v8.20.10#820010)