<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (c) 2010, The HSQL Development Group. All rights reserved.
  Released under the HSQL license, available at http://hsqldb.org
-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
  <alias name="ldapSetup" alias="setupBean"/>

  <bean id="ldapSetup" class="org.hsqldb.auth.AuthBeanMultiplexer"
        factory-method="getSingleton">
    <property name="authFunctionBeans"><map>
        <entry key="AUTHSAMPLEDBNAME">
          <list>
            <bean class="org.hsqldb.auth.LdapAuthBean" init-method="init">
              <property name="startTls" value="true"/>
              <property name="ldapHost" value="beyla.admc.com"/>
              <property name="parentDn" value="ou=people,dc=admc,dc=com"/>
              <property name="roleSchemaValuePatternString"
                        value="sn=([^,]_).*"/>
              <property name="securityMechanism" value="DIGEST-MD5"/>
              <property name="accessAttribute" value="hyperSqlAccess"/>
              <property name="rolesSchemaAttribute" value="memberof"/>
            </bean>
          </list>
        </entry>
    </map></property>
  </bean>
</beans>
