From c3ddd7489abd06155b872cc23cef3575e2ee1b9a Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 08 Jan 2014 09:55:13 +0000
Subject: [PATCH] Align server types API with SDK types API
---
opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciContainer.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciContainer.java b/opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciContainer.java
index 5e141f1..cd00948 100644
--- a/opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciContainer.java
+++ b/opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciContainer.java
@@ -511,7 +511,7 @@
* @return True if the authZid is equal to the authorization entry's DN.
*/
public boolean isAuthzidAuthorizationDN() {
- return this.authzid.equals(this.authorizationEntry.getDN());
+ return this.authzid.equals(this.authorizationEntry.getName());
}
/**
@@ -666,7 +666,7 @@
if(this.useAuthzid)
return this.authzid;
else if (this.authorizationEntry != null)
- return this.authorizationEntry.getDN();
+ return this.authorizationEntry.getName();
return DN.rootDN();
}
@@ -675,7 +675,7 @@
*/
@Override
public DN getResourceDN() {
- return resourceEntry.getDN();
+ return resourceEntry.getName();
}
/**
--
Gitblit v1.10.0