Solved

Connecting java to LDAP directory

Posted on 2003-10-24
4
587 Views
Last Modified: 2008-03-03
Hello
I am working in the SAP Portal environment. I am using Eclipse to create java iViews.
I would like to know how to connect java to LDAP(a repository) and once I have the connection how would I get data out from LDAP so that I could write to a file? Would I be using SQL statements for this?
Can you please provide me some sample code or a link to documentation so I have some sort of idea about coding this.

Any help is very much appreciated!!
Thank You.
ScarletBlue
0
Comment
Question by:ScarletBlue
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:mvoelker
ID: 9613080
Hi ScarletBlue, take a look at

http://developer.novell.com/ndk/doc/jldap/

complete documentation with examples.

Regards,

 - michael
0
 

Author Comment

by:ScarletBlue
ID: 9613465
Thank you for your help but I am not using a Novell Development Kit(NDK)... I am using a Portal Development Kit(PDK), so I can not import those classes mentioned in the link you have given me for this type of connection because it is for a novell development environment.

Any further help is much appreciated!
ScarletBlue


0
 
LVL 3

Accepted Solution

by:
savalou earned 100 total points
ID: 9613698
http://java.sun.com/products/jndi/tutorial/TOC.html

There's an example of how to connect to LDAP (look under Getting Started -> Examples -> Directory Example).
0
 

Author Comment

by:ScarletBlue
ID: 9613846
Thank-U
This looks like the help im looking for.
SB
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question