directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <>
Subject Re: unit testing apacheds 1.5.5
Date Thu, 29 Oct 2009 11:15:17 GMT
Alejandro Garcia Lopez wrote:
> Hello,
> I am trying to set up unit testing with the new version of apacheds
> 1.5.5. So far I've succeded in creating a test with an in memory apache
> directory instance which I am able to initialise via an ldif file and
> query for the users in a group.
> So far, the only way I am able to make it work is using anonymous
> access. Could you point me out to the updated documentation for 1.5.5 or
> explain me the way of setting a user Dn/password pair at server startup.
> I use the class in the attachment of this mail (borrowed from spring
> security) to create the in memory apache directory instance, but I am
> unable to modify it to set the
> user dn/password.

Do you need to use this class? Otherwise you could just run your JUnit
tests with the SiRunner class.

The documentation is not up-to-date, I'll update it in the next days.
Till there I could point you to two resources:
- [1] a very basic example
- [2] the ApacheDS integration test



View raw message