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

Important! These pages are somehow outdated and it is recommended to consult the newer version at Web technologies -- 2009-2010 -- info.uvt.ro (by Marc Frâncu).
edit

JNDI -- Java Naming and Directory Interface

edit

References

edit

Tutorials

edit

LDAP -- Lightweight Directory Access Protocol

edit

References

edit

Tutorials

edit

Servers

edit

Tools

edit

Discussion points

edit
  • 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