From 27860483705d562fd31efa3348c54923123ccc10 Mon Sep 17 00:00:00 2001
From: jarnou <jarnou@localhost>
Date: Tue, 17 Jul 2007 08:14:43 +0000
Subject: [PATCH] This fix is the refactoring of the modrdn operation [issue 1180]
---
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java b/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
index 56125c6..e321013 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -1025,7 +1025,8 @@
* @param newRDN The new RDN component.
* @return True if access is allowed.
*/
- private boolean aciCheckRDNs(ModifyDNOperation operation, RDN oldRDN,
+ private boolean aciCheckRDNs(LocalBackendModifyDNOperation operation,
+ RDN oldRDN,
RDN newRDN) {
boolean ret;
@@ -1078,7 +1079,8 @@
* @throws DirectoryException If a problem occurs while trying to
* retrieve the new superior entry.
*/
- private boolean aciCheckSuperiorEntry(DN superiorDN, ModifyDNOperation op)
+ private boolean aciCheckSuperiorEntry(DN superiorDN,
+ LocalBackendModifyDNOperation op)
throws DirectoryException {
boolean ret=false;
Lock entryLock = null;
@@ -1115,7 +1117,7 @@
* @return True if access is allowed.
*
*/
- public boolean isAllowed(ModifyDNOperation operation) {
+ public boolean isAllowed(LocalBackendModifyDNOperation operation) {
boolean ret=true;
DN newSuperiorDN;
RDN oldRDN=operation.getOriginalEntry().getDN().getRDN();
--
Gitblit v1.10.0