| | |
| | | |
| | | final Entry entry = op.getEntryToAdd(); |
| | | final DN entryDN = op.getEntryDN(); |
| | | if (entryDN.isDescendantOf(instanceKeysDN)) |
| | | if (entryDN.isSubordinateOrEqualTo(instanceKeysDN)) |
| | | { |
| | | handleInstanceKeyAddOperation(entry); |
| | | } |
| | | else if (entryDN.isDescendantOf(secretKeysDN)) |
| | | else if (entryDN.isSubordinateOrEqualTo(secretKeysDN)) |
| | | { |
| | | try |
| | | { |
| | |
| | | public PostResponse doPostResponse(PostResponseDeleteOperation op) |
| | | { |
| | | if (op.getResultCode() != ResultCode.SUCCESS |
| | | || !op.getEntryDN().isDescendantOf(instanceKeysDN)) |
| | | || !op.getEntryDN().isSubordinateOrEqualTo(instanceKeysDN)) |
| | | { |
| | | return PostResponse.continueOperationProcessing(); |
| | | } |
| | |
| | | |
| | | final Entry newEntry = op.getModifiedEntry(); |
| | | final DN entryDN = op.getEntryDN(); |
| | | if (entryDN.isDescendantOf(instanceKeysDN)) |
| | | if (entryDN.isSubordinateOrEqualTo(instanceKeysDN)) |
| | | { |
| | | handleInstanceKeyModifyOperation(newEntry); |
| | | } |
| | | else if (entryDN.isDescendantOf(secretKeysDN)) |
| | | else if (entryDN.isSubordinateOrEqualTo(secretKeysDN)) |
| | | { |
| | | try |
| | | { |