Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to connect to ApacheDS from servlet?

 
harke baj
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Check This Link

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



--Khirod Patra
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic