...
We will analyze those three kind of modifications separately.
Rename operation
test | Target exists | is a referral | has an ancestor | JNDI/Protocol handling | ManageDsaIT present | Description |
---|---|---|---|---|---|---|
1 | no | irrelevant | no | irrelevent | irrelevant | Throws a NoSuchObject exception |
2 |
|
| yes | JNDI | irrelevant | Throws a PartialResultException |
3 |
|
|
| Core API | irrelevant | Throws a PartialResultException |
4 | yes | no | no | irrelevant | irrelevant | Rename the entry on the server |
5 |
| yes | no | JNDI | throw | Throw a LdapReferralException |
6 |
|
|
|
| ignore | Rename the referral on the server |
7 |
|
|
| Core API | no | Throw a LdapReferralException |
8 |
|
|
|
| yes | Rename the referral on the server |
Test 1
Renaming to cn=absent on cn=not present, c=MNN, c=WW should fail with a NoSuchObjectException
Test 2 & 3
Renaming to cn=new name on cn=alex karasulu, ou=people, c=MNN, c=WW should throw a LdapPartialResult exception
Test 4
Renaming to cn=new name on c=MNN, c=WW should modify the entry on the server
Test 5 & 7
Renaming to cn=new name on ou=people, c=MNN, c=WW should throw a LdapReferral exception
Test 6 & 8
Renaming to cn=new name on ou=people, c=MNN, c=WW should modify the referral on the server
Move operation
Move and rename operation
Search Operation handling
...