Oracle® Internet Directory Administrator's Guide 10g (9.0.4) Part Number B12118-01 |
|
Attribute Uniqueness in the Directory, 2 of 5
The attribute uniqueness feature prevents duplication of attribute values, both when adding and modifying them. For example, it prevents you from assigning to a new employee an identifier already assigned to another employee. Instead, the directory server terminates the operation and returns an error message.
You can define attribute uniqueness:
For example, to ensure that every entry in your directory that includes a mail
attribute has a unique value for that attribute, you create an instance of attribute uniqueness associated with mail
.
For example, suppose that MyCompany hosts the directories for SubscriberCompany1 and SubscriberCompany2. You can enforce attribute uniqueness in SubscriberCompany1 only.
For example, ID
is an attribute in both the machine
object class, and the person
object class. If attribute uniqueness is enabled, then the directory server prevents you from adding either two machines or two people with the same ID
. However, a machine
ID
attribute can have the same value as a person
ID
attribute.
To implement attribute uniqueness, you create an attribute uniqueness constraint entry in which the attributes in Table 8-1 are specified.
When you have created the entry and specified the attributes, before it performs an operation, the directory server:
If an operation applies to a monitored attribute, suffix, or object class, and would cause two entries to have the same attribute value, then the directory server terminates the operation and returns a constraint violation error message to the client.
|
![]() Copyright © 1999, 2003 Oracle Corporation. All Rights Reserved. |
|