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/23 02:39:00 UTC

[jira] [Comment Edited] (ARTEMIS-3952) when auth plugin called, beforeCreateSession method will be call twice time

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

Justin Bertram edited comment on ARTEMIS-3952 at 8/23/22 2:38 AM:
------------------------------------------------------------------

Can you provide any additional details? When I run {{org.apache.activemq.artemis.tests.integration.mqtt.MQTTSecurityManagerTest#testSecurityManagerModifyClientID}} I only see {{authenticate}} called once. Can you provide a test-case or perhaps just the stack-traces from when {{authenticate}} and {{beforeCreateSession}} are called multiple times?

Without more details we can't investigate much so the issue will be closed.


was (Author: jbertram):
Can you provide any additional details? When I run {{org.apache.activemq.artemis.tests.integration.mqtt.MQTTSecurityManagerTest#testSecurityManagerModifyClientID}} I only see {{authenticate}} called once. Can you provide a test-case or perhaps just the stack-traces from when {{authenticate}} and {{beforeCreateSession}} are called multiple times?

> when auth plugin called, beforeCreateSession method will be call twice time
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3952
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3952
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.25.0
>            Reporter: gongping.zhu
>            Priority: Major
>
> 1, when auth plugin called,the beforeCreateSession method will be call twice times
> 2,ActiveMQSecurityManager5 authenticate method will call more then one times



--
This message was sent by Atlassian Jira
(v8.20.10#820010)