You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/09 19:52:00 UTC

[jira] [Commented] (ARTEMIS-3770) Refactor MQTT handling of client ID

    [ https://issues.apache.org/jira/browse/ARTEMIS-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533994#comment-17533994 ] 

ASF subversion and git services commented on ARTEMIS-3770:
----------------------------------------------------------

Commit 446ff61542f47f50c2299d8ef1cae8fe2b98a5ad in activemq-artemis's branch refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=446ff61542 ]

ARTEMIS-3770 refactor MQTT handling of client ID

It would be useful for security manager implementations to be able to
alter the client ID of MQTT connections.

This commit supports this functionality by moving the code which handles
the client ID *ahead* of the authentication code. There it sets the
client ID on the connection and thereafter any component (e.g. security
managers) which needs to inspect or modify it can do so on the
connection.

This commit also refactors the MQTT connection class to extend the
abstract connection class. This greatly simplifies the MQTT connection
class and will make it easier to maintain in the future.


> Refactor MQTT handling of client ID
> -----------------------------------
>
>                 Key: ARTEMIS-3770
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3770
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> It would be useful to allow security manager implementations to modify the client ID value used by MQTT clients. Refactor the MQTT implementation's handling of client ID to support this functionality.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)