A directory service associates names with objects.
It also associates objects with attributes.
directory service = naming service + objects containing attributes
Analogy:
Mapping a subscripber's name to his address and phone number.[Phone Directory]
Attibutes:
A directory object can have attributes.
A printer might be represented by a directory object that has attributes such as speed, resolution and color.
A user might be represented by a directory object with attributes such as user's e-mail address, telephone numbers, postal mail address etc.,
An attribute has an attribute identifier and a set of attribute values.
An attribute identifier is a "token" that identifies an attibute.
It is independent of its values.
Example :
Two different computers might have a "mail" attribute;
"mail" is the attribute identifier.
An attribute value is the contents of the attribute.
The email address, for example, might have
Attribute Identifier: Attribute Value
mail: john.smith@example.com
A directory is
Source: http://docs.oracle.com/javase/tutorial/jndi/concepts/directory.html
It also associates objects with attributes.
directory service = naming service + objects containing attributes
Analogy:
Mapping a subscripber's name to his address and phone number.[Phone Directory]
Attibutes:
A directory object can have attributes.
A printer might be represented by a directory object that has attributes such as speed, resolution and color.
A user might be represented by a directory object with attributes such as user's e-mail address, telephone numbers, postal mail address etc.,
An attribute has an attribute identifier and a set of attribute values.
An attribute identifier is a "token" that identifies an attibute.
It is independent of its values.
Example :
Two different computers might have a "mail" attribute;
"mail" is the attribute identifier.
An attribute value is the contents of the attribute.
The email address, for example, might have
Attribute Identifier: Attribute Value
mail: john.smith@example.com
A directory is
Source: http://docs.oracle.com/javase/tutorial/jndi/concepts/directory.html