Skip to content

ehsavoie/embedded-ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

embedded-ldap

This is some code to embed OpenDJ in order to test LDAP code with JUnit. [JUnit] (http://www.junit.org "JUnit") 4.10 is required at least.

The content of the opendj directory in src/test/resources is the result of the minimal installation of OpenDJ 2.4.5. This is were the connection parameters are defined and stored ( port, host, DN, root login and password). To change the listening port of the LDAP server edit the file src/test/resources/opendj/config/config.ldif and change the value of ds-cfg-listen-port. Otherwise, while the test is running you can attach an OpenDJ console to the in-memory server on the port 4444.

About

Sample code on how to embedded OpenDJ for unit tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages