Files
spring-ldap/test/integration-tests
Josh Cummings 3111ce6291 Remove Deprecation Warnings
- Address usage of new Integer
- Address missing deprecation markers

Closes gh-793
2023-07-13 10:29:35 -06:00
..
2023-07-13 10:29:35 -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.