| | |
| | | if (conflictDN != null) |
| | | { |
| | | Message msg = ERR_PLUGIN_UNIQUEATTR_ATTR_NOT_UNIQUE.get( |
| | | t.getNameOrOID(), v.getStringValue(), |
| | | t.getNameOrOID(), v.getValue().toString(), |
| | | conflictDN.toString()); |
| | | return PluginResult.PreOperation.stopProcessing( |
| | | ResultCode.CONSTRAINT_VIOLATION, msg); |
| | |
| | | if (conflictDN != null) |
| | | { |
| | | Message msg = ERR_PLUGIN_UNIQUEATTR_ATTR_NOT_UNIQUE.get( |
| | | t.getNameOrOID(), v.getStringValue(), |
| | | t.getNameOrOID(), v.getValue().toString(), |
| | | conflictDN.toString()); |
| | | return PluginResult.PreOperation.stopProcessing( |
| | | ResultCode.CONSTRAINT_VIOLATION, msg); |
| | |
| | | if (conflictDN != null) |
| | | { |
| | | Message msg = ERR_PLUGIN_UNIQUEATTR_ATTR_NOT_UNIQUE.get( |
| | | t.getNameOrOID(), v.getStringValue(), |
| | | t.getNameOrOID(), v.getValue().toString(), |
| | | conflictDN.toString()); |
| | | return PluginResult.PreOperation.stopProcessing( |
| | | ResultCode.CONSTRAINT_VIOLATION, msg); |
| | |
| | | if (conflictDN != null) |
| | | { |
| | | Message msg = ERR_PLUGIN_UNIQUEATTR_ATTR_NOT_UNIQUE.get( |
| | | t.getNameOrOID(), v.getStringValue(), |
| | | t.getNameOrOID(), v.getValue().toString(), |
| | | conflictDN.toString()); |
| | | return PluginResult.PreOperation.stopProcessing( |
| | | ResultCode.CONSTRAINT_VIOLATION, msg); |
| | |
| | | t.getNameOrOID(), |
| | | addOperation.getConnectionID(), |
| | | addOperation.getOperationID(), |
| | | v.getStringValue(), |
| | | v.getValue().toString(), |
| | | entry.getDN().toString(), |
| | | conflictDN.toString()); |
| | | DirectoryServer.sendAlertNotification(this, |
| | |
| | | t.getNameOrOID(), |
| | | modifyOperation.getConnectionID(), |
| | | modifyOperation.getOperationID(), |
| | | v.getStringValue(), |
| | | v.getValue().toString(), |
| | | entryDN.toString(), |
| | | conflictDN.toString()); |
| | | DirectoryServer.sendAlertNotification(this, |
| | |
| | | t.getNameOrOID(), |
| | | modifyOperation.getConnectionID(), |
| | | modifyOperation.getOperationID(), |
| | | v.getStringValue(), |
| | | v.getValue().toString(), |
| | | entryDN.toString(), |
| | | conflictDN.toString()); |
| | | DirectoryServer.sendAlertNotification(this, |
| | |
| | | t.getNameOrOID(), |
| | | modifyDNOperation.getConnectionID(), |
| | | modifyDNOperation.getOperationID(), |
| | | v.getStringValue(), |
| | | v.getValue().toString(), |
| | | modifyDNOperation.getUpdatedEntry().getDN().toString(), |
| | | conflictDN.toString()); |
| | | DirectoryServer.sendAlertNotification(this, |