[ https://issues.apache.org/jira/browse/ARTEMIS-3952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17583312#comment-17583312 ]
gongping.zhu edited comment on ARTEMIS-3952 at 8/23/22 3:15 AM: ---------------------------------------------------------------- i attach zhe code; and below is zhe run log 2022-08-23 11:12:14,065 INFO [com.yeker.iot.broker.plugin.impl.JAASSecurityManagerWrapper] authenticate 2022-08-23 11:12:14,168 INFO [monitor] beforeCreateSession 2022-08-23 11:12:14,315 INFO [monitor] 连接成功 0-YK00Y3030A0404220000000002@b813320e52ad 127.0.0.1:56224 ff4f06b3 1 1 2022-08-23 11:12:14,332 INFO [monitor] beforeCreateSession was (Author: JIRAUSER293605): i attach zhe code; > 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 > Attachments: ArtemisBrokerPlugin.java, JAASSecurityManagerWrapper.java > > > 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)