| | |
| | | private void handleInstanceKeySearchEntry(SearchResultEntry searchEntry) |
| | | throws DirectoryException |
| | | { |
| | | RDN srcRDN = searchEntry.getDN().rdn(); |
| | | RDN srcRDN = searchEntry.getName().rdn(); |
| | | |
| | | // Only process the entry if it has the expected form of RDN. |
| | | if (!srcRDN.isMultiValued() && |
| | |
| | | { |
| | | // The trust store backend does not implement modify so we need to |
| | | // delete then add. |
| | | DN dstDN = dstEntry.getDN(); |
| | | DN dstDN = dstEntry.getName(); |
| | | deleteEntry(dstDN); |
| | | addEntry(srcEntry, dstDN); |
| | | } |
| | |
| | | |
| | | private void handleInstanceKeyAddOperation(Entry entry) |
| | | { |
| | | RDN srcRDN = entry.getDN().rdn(); |
| | | RDN srcRDN = entry.getName().rdn(); |
| | | |
| | | // Only process the entry if it has the expected form of RDN. |
| | | if (!srcRDN.isMultiValued() && |
| | |
| | | return; |
| | | } |
| | | |
| | | RDN srcRDN = entry.getDN().rdn(); |
| | | RDN srcRDN = entry.getName().rdn(); |
| | | |
| | | // Only process the entry if it has the expected form of RDN. |
| | | // FIXME: Technically it is possible to perform a subtree in |
| | |
| | | |
| | | private void handleInstanceKeyModifyOperation(Entry newEntry) |
| | | { |
| | | RDN srcRDN = newEntry.getDN().rdn(); |
| | | RDN srcRDN = newEntry.getName().rdn(); |
| | | |
| | | // Only process the entry if it has the expected form of RDN. |
| | | if (!srcRDN.isMultiValued() && |