|
You
can either use JNDI or LDAP API to access LDAP.
The JNDI
directory service is in the javax.naming.directory, javax.naming packages as
well as LDAP provider's implement packages. Because of JNDI is part of J2EE standard, it
make your code
more portable. Here is the link to a
tutorial of JNDI-LDAP.
A LDAP provider may provide a LDAP java
API, I am not using it.
I
don't know any thing about Active Directory. Microsoft may have a
java API.
King
|