<!--
  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.
-->
<configuration
        xmlns="urn:activemq"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="urn:activemq ../../src/config/common/schema/artemis-server.xsd">
   <core xmlns="urn:activemq:core">
      <security-settings>
         <security-setting match="a1">
            <permission type="createNonDurableQueue" roles="a1.1"/>
         </security-setting>
         <security-setting match="a2">
            <permission type="deleteNonDurableQueue" roles="a2.1"/>
         </security-setting>
         <security-setting-plugin
                 class-name="org.apache.activemq.artemis.core.server.impl.LegacyLDAPSecuritySettingPlugin">
            <setting name="initialContextFactory" value="testInitialContextFactory"/>
            <setting name="connectionURL" value="testConnectionURL"/>
            <setting name="connectionUsername" value="testConnectionUsername"/>
            <setting name="connectionPassword" value="testConnectionPassword"/>
            <setting name="connectionProtocol" value="testConnectionProtocol"/>
            <setting name="authentication" value="testAuthentication"/>
            <setting name="destinationBase" value="testDestinationBase"/>
            <setting name="filter" value="testFilter"/>
            <setting name="roleAttribute" value="testRoleAttribute"/>
            <setting name="adminPermissionValue" value="testAdminPermissionValue"/>
            <setting name="readPermissionValue" value="testReadPermissionValue"/>
            <setting name="writePermissionValue" value="testWritePermissionValue"/>
         </security-setting-plugin>
      </security-settings>
   </core>
</configuration>
