Web technologies -- Laboratory 11 -- 2007-2008 -- info.uvt.ro

From Wikiversity

Jump to: navigation, search

Contents

[edit] Navigation

[edit] JNDI -- Java Naming and Directory Interface

[edit] References

[edit] Tutorials

[edit] API

[edit] LDAP -- Lightweight Directory Access Protocol

[edit] References

[edit] Tutorials

[edit] Servers

[edit] Tools

[edit] Discussion points

  • LDAP -- directory service access protocol;
  • directory service -- an application that stores and organizes information (usually about users, computers, or organizational entities) in (usually) a hierarchical structure;
    • directory -- a tree of entries;
    • entry -- a set of attributes;
    • attribute -- a pair of name and value (or possibly multiple values);
    • each entry has at least one class;
    • each entry has an unique name -- DN (Distinguished Name);
    • example entry:
dn: cn=John Doe,dc=example,dc=com
cn: John Doe
givenName: John
sn: Doe
telephoneNumber: +1 888 555 6789
telephoneNumber: +1 888 555 1232
mail: john@example.com
manager: cn=Barbara Doe,dc=example,dc=com
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
  • operations:
    • search / retrieve entities;
    • create / destroy / update entities;
  • usage;
  • LDAP protocol:
    • binary protocol based on TCP/IP;
    • we refer to directory services by an URL:
ldap://host:port/

Ciprian Dorin Craciun, 2008-01-10, ccraciun@info.uvt.ro

Personal tools