mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

coulbeck
23.11.2007 ef7472507064725f7d1ac16e6b9ccdfa2f9fadea
refs
author coulbeck <coulbeck@localhost>
Friday, February 23, 2007 21:11 +0100
committer coulbeck <coulbeck@localhost>
Friday, February 23, 2007 21:11 +0100
commitef7472507064725f7d1ac16e6b9ccdfa2f9fadea
tree 5b8dc5a5b0b495644e3be6803f4f46f7561ff457 tree | zip | gz
parent b25fe5e9c226441bbcaf23ce002924422e3e54e4 view | diff
This change prepares the unit tests for when the ACI handler will get enabled by default.  Most of the failing tests are fixed by adding bypass-acl privilege to the entries of the users the failing tests bind as.

This change also includes an important fix to the server for operations carrying the proxied auth control. The ACI check in the core operation is moved after the controls processing to ensure that the correct authorization user is picked up, and the ACI handler now gets the authorization user from the operation rather than the connection.
20 files modified
761 ■■■■ changed files
opends/src/server/org/opends/server/authorization/dseecompat/AciContainer.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/AddOperation.java 40 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/CompareOperation.java 40 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DeleteOperation.java 34 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ModifyDNOperation.java 42 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/ModifyOperation.java 40 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/SearchOperation.java 34 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/api/PasswordValidatorTestCase.java 11 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AciTests.java 28 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java 3 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/CompareOperationTestCase.java 13 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/RejectUnauthReqTests.java 6 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/TestModifyDNOperation.java 10 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/PasswordModifyExtendedOperationTestCase.java 9 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPCompareTestCase.java 4 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java 4 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPPasswordModifyTestCase.java 427 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPSearchTestCase.java 6 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/types/PrivilegeTestCase.java 2 ●●●●● diff | view | raw | blame | history