Question

We are currently implementing a portal to our web based services. The portal and services are written with Seam and we are using OpenLDAP to store the security data such as users, groups and permissions. So far we have looked at writing our own code to access LDAP but are there any existing APIs that we could use?

Was it helpful?

Solution

If you're a Spring user, I'd look into the Spring LDAP modules. They're beautifully done; they follow the idiom laid down by their JDBC implementation. Very clean, very nice.

OTHER TIPS

We did this for our web application a while ago and investigated the following: http://developers.sun.com/sw/docs/examples/appserver/ldap.html

However, we ended up just using the LDAP support built in to Tomcat, since basic authentication was enough for us.

Here is an example on how we set up out authentication in tomcat: http://blog.mc-thias.org/?c=1&more=1&pb=1&tb=1&title=tomcat_ldap_authentication

JLDAP

The LDAP Class Libraries for Java (JLDAP) allow you to write applications to access, manage, update, and search for information stored in directories accessible using LDAPv3.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top