It's not a secret anymore!*
The moose likes Servlets and the fly likes How to connect to ApacheDS from servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to connect to ApacheDS from servlet?" Watch "How to connect to ApacheDS from servlet?" New topic
Author

How to connect to ApacheDS from servlet?

harke baj
Greenhorn

Joined: Feb 02, 2010
Posts: 28
Hi all,

I have an ApacheDS LDAP server. I want my servlet to connect to this LDAP server (which has usernames and passwords) and verify the user.

How do I connect my Servlet to the ApacheDS?

Thanks,
harke
Volodymyr Krasnikov
Greenhorn

Joined: Sep 17, 2009
Posts: 3
hi, you need a ldap client. I cant name them immediately but I know that there are some opensource clients, try seach
harke baj
Greenhorn

Joined: Feb 02, 2010
Posts: 28
No, I mean how can I connect to the ApacheDS LDAP server, like the way we connect to MySQL from the servlet?

I used the ApacheDS Studio client to load the data.

Thanks.
Khirod Patra
Greenhorn

Joined: Mar 27, 2008
Posts: 23
Hi,

Check This Link

https://cwiki.apache.org/DIRxSRVx11/43-embedding-apacheds-as-a-web-application.html



--Khirod Patra
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to connect to ApacheDS from servlet?
 
Similar Threads
is it possible through LDAP ??
Get handle of UserRegistry or JAAS entries in WAS
ldap server
apacheDS
LDAP Authentication