Unique Attribute Plugin
The Unique Attribute Plugin enforces constraints on the value of an attribute within a portion of the directory.
The values for each attribute must be unique within each base DN specified in the plugin’s base-dn property or within all of the server’s public naming contexts if no base DNs were specified.
Parent
The Unique Attribute Plugin object inherits from Plugin.
Unique Attribute Plugin Properties
You can use configuration expressions to set property values at startup time. For details, see Property Value Substitution.
Basic Properties | Advanced Properties |
---|---|
base-dn
Synopsis |
Specifies a base DN within which the attribute must be unique. |
Default Value |
The plug-in uses the server’s public naming contexts in the searches. |
Allowed Values |
A valid DN. |
Multi-valued |
Yes |
Required |
No |
Admin Action Required |
None |
Advanced |
No |
Read-Only |
No |
enabled
Synopsis |
Indicates whether the plug-in is enabled for use. |
Default Value |
None |
Allowed Values |
true false |
Multi-valued |
No |
Required |
Yes |
Admin Action Required |
None |
Advanced |
No |
Read-Only |
No |
type
Synopsis |
Specifies the attribute types to check for value uniqueness. Each attribute value must be unique for all specified attribute types. For example, if both uid and cn types are specified, then each uid and cn value must be unique for all uid and cn attributes under the specified base DN(s). |
Default Value |
None |
Allowed Values |
The name of an attribute type defined in the LDAP schema. |
Multi-valued |
Yes |
Required |
Yes |
Admin Action Required |
None |
Advanced |
No |
Read-Only |
No |
Advanced Properties
Use the --advanced
option to access advanced properties.
invoke-for-internal-operations
Synopsis |
Indicates whether the plug-in should be invoked for internal operations. |
Description |
Any plug-in that can be invoked for internal operations must ensure that it does not create any new internal operatons that can cause the same plug-in to be re-invoked. |
Default Value |
true |
Allowed Values |
true false |
Multi-valued |
No |
Required |
No |
Admin Action Required |
None |
Advanced |
Yes |
Read-Only |
No |
java-class
Synopsis |
Specifies the fully-qualified name of the Java class that provides the plug-in implementation. |
Default Value |
org.opends.server.plugins.UniqueAttributePlugin |
Allowed Values |
A Java class that extends or implements:
|
Multi-valued |
No |
Required |
Yes |
Admin Action Required |
None |
Advanced |
Yes |
Read-Only |
No |
plugin-type
Synopsis |
Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked. |
Default Value |
preoperationadd preoperationmodify preoperationmodifydn postoperationadd postoperationmodify postoperationmodifydn postsynchronizationadd postsynchronizationmodify postsynchronizationmodifydn |
Allowed Values |
|
Multi-valued |
Yes |
Required |
Yes |
Admin Action Required |
The object must be disabled and re-enabled for changes to take effect. |
Advanced |
Yes |
Read-Only |
No |