Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Connecting java to LDAP directory

Posted on 2003-10-24
4
Medium Priority
?
593 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 400 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

722 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