What is a good embeddable Java LDAP server?

Posted by LeedsSideStreets on Stack Overflow See other posts from Stack Overflow or by LeedsSideStreets
Published on 2008-12-03T16:27:51Z Indexed on 2010/04/17 13:53 UTC
Read the original article Hit count: 517

I'm working on a Java web application that integrates with a few other external applications that are deployed along with it. Authentication information must be synchronized across everything and the other applications want to authenticate against LDAP. The application will be deployed in environments where there will be no other LDAP server for everything to use; I have to provide it. My solution so far has been to use Penrose Server as a standalone app, which I set up to examine tables in the main application's database and publish LDAP based on that. It works well, but it would be nice to have something that can be embedded into the main application itself to simplify deployment.

It looks like Penrose can be embedded, but the documentation can be a bit spotty or out-of-date (though it seems to be actively developed). It could be an acceptable solution, but if there is another out there that is known to work well in an embedded configuration I might want to check it out.

I'm also concerned about GPL issues with Penrose. I'm not at liberty to GPL the source code for the application. I don't believe it was an issue running it standalone, but embedding it may be no-no... anybody know for sure? A permissive license would be good in order to avoid these issues.

Requirements:

  1. LDAP v3
  2. Must be able to be have the directory contents updated while running, either programmatically or by another means like syncing with the database as Penrose does
  3. Easy to configure (no additional configuration for the app at deployment time would be ideal)

So far I've briefly looked at ApacheDS and OpenDS which seem to be embeddable.

Does anyone have experience with this kind of thing?

© Stack Overflow or respective owner

Related posts about java

Related posts about ldap