

What we’ll do is divide the roles into elements. Remember we have the regular users and the admins. Under the roles we have two sub-divisions. We’ll put all the identities of each person in a separate element, while the roles will be placed on another element. For this tutorial we’ll organize them based on identity and roles. We can organize them by gender, by job function, and etc. There are many ways to organize our members. Under the mojo we will assign our members. We’ll pick the name mojo as the topmost parent. Logically, the name of the company fits that requirement. We need to assign the topmost parent of our structure. LDAP is a hierarchical tree structure, so our design will be influenced by that. Let’s define the important elements of the company. LDAP is a good protocol to meet all these requirements. These information and structure will be shared among different applications of the company.

Each has their own information and structure. We may have hundreds of people from different departments in five years time.

Our task is to create a hierarchical structure of our organization using LDAP because we anticipate the eventual growth of the company. We have four people, and two of them are admins. We have a small startup company named Mojo Enterprises. I suggest my readers to visit the following article Should I Use a Directory, a Database, or Both? If this is your first time to LDAP, you might be wondering how is this different from an RDBMS. Deeper inside the directory might appear entries for people, departments, teams, printers, and documents. LDAP directories often use Domain Name System (DNS) names for the highest levels. A directory information tree often follows political, geographic, or organizational boundaries. For example, the telephone directory is an alphabetical list of persons and organizations, with each record having an address and phone number. A directory is an organized set of records. The Lightweight Directory Access Protocol (LDAP) is an application protocol for reading and editing directories over an IP network. These plugins can even run within Eclipse itself. It is an Eclipse RCP application, composed of several Eclipse (OSGi) plugins, that can be easily upgraded with additional ones. The Eclipse based LDAP browser and directory clientĪpache Directory Studio is a complete directory tooling platform intended to be used with any LDAP server however it is particularly designed for use with ApacheDS. This tutorial will be the basis for our other Spring LDAP integration tutorials. We will be using the excellent Apache Directory Studio IDE. In this tutorial we will setup a basic LDAP structure containing users and roles.
