Files
spring-ldap/test/integration-tests
Josh Cummings 0b9084075b Retrieve All ODM-Managed Attributes on Update
In this way, if an Entry has an operational attribute, it will
be present in both the updated and existing objects so that
DirContextAdapter does not compute it as a new attribute.

Closes gh-446
2024-10-10 13:35:46 -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.