Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

integrating Apache with LDAP

 
Siddharth Ramavat
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I am developing a chat applicatiion in which I require to add the entry fof the user to LDAP directory after the authentication via servlet.

Now I am using Apache tomcat as the web server to execute the servlet and I include the netscape.ldap.* in the servlet to import the necessary classes of the netscape sdk.

But the servlet is not able to find the package when the package is very much present and the required classpath is also set

Actually I am having a LoginServlet which calls Add.java class (which includes all the necessary steps to make the ldap entry ie LDAPEntry,LdAPConnection as well as adds the entry to ldap directory) by making an object of the same.

But the LoginServlet after importing the netscaoe.ldap.* package is not able to find classes (ie LDAPEntry,LDAPConnection)

Questions:::::::::::::::::::::::::::::::

1. So where should I place the package netscape.ldap.*

2. What to include in the servlet code

3. Where to put netscape .jars files in the container of Apache

4. How to make netscape.ldap.* reachable

Regards
Siddharth
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic