File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need a simple Java LDAP client

 
Dan Grindstaff
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I need a simple java class that can search and return values from an LDAP directory. Does anyone know of any available code? TIA.
 
Dan Grindstaff
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have found a program that reads as follows:


I need some additional code to do simple name/password authentication. TIA.
 
Dan Grindstaff
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to find another program that does exactly what I need including authentication.

 
Dan Grindstaff
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all, I have been told that my connection to the ldap server will need to go through a proxy server. I will not be able to simply pass the url plus port. Has anyone worked with implementing sockets to connect to an ldap server?
 
Dan Grindstaff
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am researching the sockets issue and wondering if it is possible to pass anything 'secure' through a proxy I have no control over?
 
Dan Grindstaff
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All, I am stuck, I need to utilize a proxy server to get out of my network to get to an LDAP server. The admins refuse to make an exception. Is there any way to code into existing classes to utilize a proxy server? Any ideas are most welcome! TIA.
 
Dan Grindstaff
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All, i am looking at using http tunneling to make an ldap connection through the proxy server on port 8080. The problem is that I keep getting errors about the protocol not being recognized. I have the following code:



Any ideas are greatly appreciated!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic