Using apacheDS for unit test

I have an application that uses an LDAP server, and I need to write some unit tests. I started to mock LDAP DirContext and others, but it is too complicated for my current tests, so I thought I was using the built-in LDAP server.

This link does not work: http://directory.apache.org/apacheds/1.5/42-using-apacheds-for-unit-tests.html -> Embedding ApacheDS - Conference Materials β†’ Code Samples (requires Maven 2.x) ( SVN)

Does anyone have sample code for it or an alternative to ApacheDS?

+3
source share
1 answer

, , , SDK UnboundID LDAP. , , .

.

+8

All Articles