From 5c1781321a571986f9a1f4fcdf3e332076ee4c83 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 03 Feb 2016 14:50:55 +0000
Subject: [PATCH] Use AttributeDescription in Entry and Attribute

---
 opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/UserAttr.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/UserAttr.java b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/UserAttr.java
index 9316bd2..9a66e2d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/UserAttr.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/UserAttr.java
@@ -209,9 +209,9 @@
         if (!result.isEmpty()) {
             ByteString val= ByteString.valueOfUtf8(attrVal);
             SearchResultEntry resultEntry = result.getFirst();
-            if(resultEntry.hasValue(attrType, null, val)) {
+            if(resultEntry.hasValue(attrType, val)) {
                 Entry e=evalCtx.getResourceEntry();
-                if(e.hasValue(attrType, null, val))
+                if(e.hasValue(attrType, val))
                 {
                     matched=EnumEvalResult.TRUE;
                 }

--
Gitblit v1.10.0