]> git.argeo.org Git - lgpl/argeo-commons.git/blob - server/modules/org.argeo.server.ads.server/META-INF/spring/ads.xml
First (more or less) working webdav server
[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="ignoreUnresolvablePlaceholders" value="false" />
9 <property name="locations">
10 <value>osgibundle:ads.properties
11 </value>
12 </property>
13 </bean>
14
15 <bean class="org.argeo.server.ads.AdsContainer">
16 <property name="workingDirectory" value="${argeo.osgi.data.dir}/apacheds" />
17 <property name="deleteWorkingDirOnExit" value="true" />
18 <property name="configuration" ref="configuration" />
19 <property name="environment" ref="environment" />
20 <property name="ldifs">
21 <list>
22 <value>${argeo.ads.init.ldif}</value>
23 </list>
24 </property>
25 </bean>
26
27 <bean id="environment"
28 class="org.springframework.beans.factory.config.PropertiesFactoryBean">
29 <property name="properties">
30 <props>
31 <prop key="java.naming.security.authentication">simple</prop>
32 <prop key="java.naming.security.principal">${argeo.ldap.manager.userdn}</prop>
33 <prop key="java.naming.security.credentials">${argeo.ldap.manager.password}</prop>
34 <!--<prop key="kdc.entryBaseDn">ou=users,dc=example,dc=com</prop>-->
35 <!--<prop key="kdc.java.naming.security.credentials">secret</prop>-->
36 <!--
37 <prop key="changepw.entryBaseDn">ou=users,dc=example,dc=com</prop>
38 -->
39 <!--
40 <prop key="changepw.java.naming.security.credentials">secret</prop>
41 -->
42 <!--
43 Set this key to a space delimited set of attributeType descriptions
44 and their OID's if you want an attributeType to be handled as
45 binary content. The server will use the schema to derive the set of
46 attributeTypes to treat as binary. The union if the values you
47 provide here will be taken as the set of binaries. Note to be
48 consistent you must add both the OID and all the names an
49 attributeType can have.
50 -->
51 <!--
52 <prop key="java.naming.ldap.attributes.binary"></prop>
53 -->
54 </props>
55 </property>
56 </bean>
57
58
59 </beans>