Embedded Apache Directory Server with custom schema
Below is the code to create an embedded instance of Apache Directory Server useful for JUnit tests, with custom schema extensions. Note that you cannot use ADS annotations or even the DefaultDirectoryServiceFactory. All objects are hand-created and the aggregate schema copied to a temporary work folder. // Step 1: Extract schema LDIFs to disk (required …
Embedded Apache Directory Server with custom schema Read More »