jump to navigation

LDAP AND JNDI February 13, 2008

Posted by essamabdelaziz in JAVA.
trackback

My Dears,

I have collected a few tips regarding LDAP and how to deal with Active Directory in java.

I will blog whatever I get Whenever I have the chance .

Here I will start with LDAP .

LDAP:

 

  • Lightweight Directory Access Protocol (LDAP)
  • was developed in the early 1990s as a standard directories protocol.
  • LDAP defines how clients should access data on the server
  • JNDI does for LDAP what JDBC does for Oracle — it provides a standard API for interacting with naming and directory services using a service provider interface (SPI)
  • LDAP is a standard way to provide access to directory information
  • An LDAP directory entry is a collection of attributes with a name, called a distinguished name (DN). The various types of additional data obout that DN, (e.g. phone number, email address, mailing address, security access code) may have restricted access to a subset of users of the database.

eads from right to left. Here is an example of an DN:

uid=styagi,ou=people,o=myserver.com

o

Organization

ou

Organizational unit

cn

Common name

sn

Surname

givenname

First name

uid

Userid

dn

Distinguished name

mail

Email address

Some common LDAP attributes


*Any attribute can have one or more values, depending on how it is defined the schema.

 

have alook here

to find a very useful article regarding the same .

 

 

Comments»

No comments yet — be the first.