forked from spring-projects/spring-ldap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spring-projects#576 allow different credentials for UnboundId embedde…
…d test server - had to make some minor API adjustments but kept the old API for backward compatibility
- Loading branch information
1 parent
4d2915e
commit 725609d
Showing
5 changed files
with
81 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...boundid/src/test/resources/applicationContext-testContextSource_different_credentials.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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 https://www.springframework.org/schema/beans/spring-beans.xsd"> | ||
|
||
<bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate"> | ||
<property name="contextSource" ref="contextSource" /> | ||
</bean> | ||
|
||
<bean id="contextSource" class="org.springframework.ldap.test.unboundid.TestContextSourceFactoryBean"> | ||
<property name="defaultPartitionSuffix" value="dc=jayway,dc=se" /> | ||
<property name="defaultPartitionName" value="jayway" /> | ||
<property name="principal" value="cn=techuser,ou=system,o=acme" /> | ||
<property name="password" value="geheim" /> | ||
<property name="ldifFile" value="setup_data.ldif" /> | ||
<property name="port" value="18881" /> | ||
</bean> | ||
|
||
</beans> |