Hi Juergen Docs about embedded server can be found @http://directory.apache.org/apacheds/1.5/embedding-apacheds-as-a-web-application.html or try the archetype from http://vm094.oxylos.org/projects/samples/apacheds-webapp/ . Maybe also the thread 'Trying to write a simple partition example' http://www.nabble.com/Trying-to-write-a-simple-partition-example-td20309945.html can help you.
Regards Felix > Hi, > > I tried the Using ApacheDS for unit tests page using ds 1.5.4: > http://directory.apache.org/apacheds/1.5/using-apacheds-for-unit-tests.html > > The Creating a blank test part seems to work, but the Creating our own > partition part needs some classes I cannot find (starting with > MutablePartitionConfiguration). > > Has somebody a sample that works with the current server? > > Then, couldn't the code to set up a standard server, partitions and so on, > not be moved completely into > apacheds-server-unit-1.5.4.jar or into a DS jar, so one would only code > Magic.startUPCompleteServer() ? > > Also it would be nice if the environment for InitialContext would not need a > reference to configurations. > > I'd like to unittest some jldap LDAPModifyRequests using DS. Still easier > were if one could just convert LDAPModifyRequests into LDAPEntries which one > could use to test attributes, but I don't see how this conversion could be > done. > > Thanks, > Juergen > > >
