Files
spring-ldap/test/integration-tests
Thomas Darimont 963232f9a9 LDAP-337 - Enable Java 8 build.
Fixed various JavaDoc errors that would otherwise cause the build to fail with JDK 8.
Upgraded Jacoco Plugin Version to support Java 8.
Increased heap to javadoc task to speed up doc generation.

The build now works fine with Java 7 and Java 8.
2015-08-03 22:32:19 +02:00
..
2010-02-20 00:58:01 +00:00
2015-08-03 22:32:19 +02: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.