*/
@Override()
public final PluginResult.PostOperation
doPostOperation(PostOperationModifyDNOperation modifyDNOperation)
{
UniqueAttributePluginCfg config = currentConfiguration;
Set<DN> baseDNs = getBaseDNs(config,
modifyDNOperation.getUpdatedEntry().getDN());
if (baseDNs == null)
{
// The entry is outside the scope of this plugin.
return PostOperation.continueOperationProcessing();
}
RDN newRDN = modifyDNOperation.getNewRDN();
for (int i=0; i < newRDN.getNumValues(); i++)
{
AttributeType t = newRDN.getAttributeType(i);
if (! config.getType().contains(t))
{
// We aren't interested in this attribute type.
continue;
}
AttributeValue v = newRDN.getAttributeValue(i);