Modified constant name.

This commit is contained in:
Mattias Arthursson
2008-08-14 15:17:18 +00:00
parent bdb2a4bfa6
commit a2fdf4e695
2 changed files with 3 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
itest.openldap.serverAddress=127.0.0.1
userDn=cn=admin,dc=jayway,dc=se
password=secret
base=dc=jayway,dc=se

View File

@@ -6,6 +6,7 @@
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="/conf/ldap.properties" />
<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
</bean>
<bean id="contextSource"
@@ -13,7 +14,7 @@
<property name="base" value="dc=jayway,dc=se" />
<property name="userDn" value="${userDn}" />
<property name="password" value="${password}" />
<property name="url" value="ldap://${serverAddress}:389" />
<property name="url" value="ldap://${itest.openldap.serverAddress}:389" />
</bean>
<bean id="ldapTemplate"