Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

integrating Apache with LDAP  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!