]> git.argeo.org Git - lgpl/argeo-commons.git/blob - server/modules/org.argeo.server.ads.server/META-INF/spring/ads.xml
[maven-release-plugin] prepare release argeo-commons-2.1.10
[lgpl/argeo-commons.git] / server / modules / org.argeo.server.ads.server / META-INF / spring / ads.xml
1 <beans xmlns="http://www.springframework.org/schema/beans"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
4
5 <bean
6 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
7 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
8 <property name="locations">
9 <value>osgibundle:ads.properties</value>
10 </property>
11 </bean>
12
13 <bean class="org.argeo.server.ads.AdsContainer">
14 <property name="workingDirectory" value="${osgi.instance.area}/apacheds" />
15 <!-- <property name="deleteWorkingDirOnExit" value="true" /> -->
16 <property name="configuration" ref="configuration" />
17 <property name="environment" ref="environment" />
18 <property name="ldifs">
19 <list>
20 <value>${argeo.ads.init.ldif}</value>
21 </list>
22 </property>
23 </bean>
24
25 <bean id="environment"
26 class="org.springframework.beans.factory.config.PropertiesFactoryBean">
27 <property name="properties">
28 <props>
29 <prop key="java.naming.security.authentication">simple</prop>
30 <prop key="java.naming.security.principal">${argeo.ldap.manager.userdn}</prop>
31 <prop key="java.naming.security.credentials">${argeo.ldap.manager.password}</prop>
32 <!--<prop key="kdc.entryBaseDn">ou=users,dc=example,dc=com</prop> -->
33 <!--<prop key="kdc.java.naming.security.credentials">secret</prop> -->
34 <!-- <prop key="changepw.entryBaseDn">ou=users,dc=example,dc=com</prop> -->
35 <!-- <prop key="changepw.java.naming.security.credentials">secret</prop> -->
36 <!-- Set this key to a space delimited set of attributeType descriptions
37 and their OID's if you want an attributeType to be handled as binary content.
38 The server will use the schema to derive the set of attributeTypes to treat
39 as binary. The union if the values you provide here will be taken as the
40 set of binaries. Note to be consistent you must add both the OID and all
41 the names an attributeType can have. -->
42 <!-- <prop key="java.naming.ldap.attributes.binary"></prop> -->
43 </props>
44 </property>
45 </bean>
46
47
48 </beans>