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

gongping.zhu commented on ARTEMIS-3952:
---------------------------------------

bootstrap.xml

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<broker xmlns="http://activemq.apache.org/schema";>
<!--
<jaas-security domain="activemq"/>
-->
<security-manager 
class-name="com.yeker.iot.broker.plugin.impl.JAASSecurityManagerWrapper">
<property key="domain" value="activemq"/>
</security-manager>

<!-- artemis.URI.instance is parsed from artemis.instance by the CLI startup.
This is to avoid situations where you could have spaces or special characters 
on this URI -->
<server configuration="file:/var/www/html/brokers/etc//broker.xml"/>

<!-- The web server is only bound to localhost by default -->
<web path="web">
<binding uri="http://localhost:8161";>
<app url="activemq-branding" war="activemq-branding.war"/>
<app url="artemis-plugin" war="artemis-plugin.war"/>
<app url="console" war="console.war"/>
</binding>
</web>


</broker>

> 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)

Reply via email to