Files
spring-ldap/test/integration-tests
Josh Cummings 092b22c200 Add Stream Support
Closes gh-586
2022-07-22 14:44:22 -06:00
..
2022-07-22 14:44:22 -06:00
2010-02-20 00:58:01 +00:00
2022-01-21 14:26:22 -07:00

Spring LDAP Integration Test Configuration

By default, the Spring LDAP integration tests run against an in-process ApacheDS instance. To configure the tests to run against an external LDAP server, use the following system properties:

  • -Dspring.profiles.active=no-apacheds (required to run against external LDAP server)
  • -Durl=<ldap server url> (defaults to ldap://127.0.0.1:389)
  • -DuserDn=<ldap user dn>
  • -Dpassword=<ldap password>
  • -Dbase=<LDAP base DN> - note that the base node MUST exist and that it will be completely cleared by the tests.
  • -Dadtest - A number of integration tests uses specific LDAP functionality which is not supported or very hard to configure for Active Directory. Use this flag to disable these tests.