[
https://issues.apache.org/jira/browse/ARTEMIS-3770?focusedWorklogId=754383&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-754383
]
ASF GitHub Bot logged work on ARTEMIS-3770:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 08/Apr/22 01:02
Start Date: 08/Apr/22 01:02
Worklog Time Spent: 10m
Work Description: jbertram opened a new pull request, #4021:
URL: https://github.com/apache/activemq-artemis/pull/4021
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.
Issue Time Tracking
-------------------
Worklog Id: (was: 754383)
Remaining Estimate: 0h
Time Spent: 10m
> 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: 10m
> 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.1#820001)