From 22094368c2865dcfb6daf8366425212b721a4657 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 05 Feb 2009 17:42:14 +0000
Subject: [PATCH] Merge ASN1 branch to trunk

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

diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/UserAttr.java b/opends/src/server/org/opends/server/authorization/dseecompat/UserAttr.java
index df24463..c496469 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/UserAttr.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/UserAttr.java
@@ -221,7 +221,7 @@
                         filter, null);
         LinkedList<SearchResultEntry> result = op.getSearchEntries();
         if (!result.isEmpty()) {
-            AttributeValue val=new AttributeValue(attrType, attrVal);
+            AttributeValue val= AttributeValues.create(attrType, attrVal);
             SearchResultEntry resultEntry = result.getFirst();
             if(resultEntry.hasValue(attrType, null, val)) {
                 Entry e=evalCtx.getResourceEntry();
@@ -284,7 +284,7 @@
         if(!attrs.isEmpty()) {
             for(Attribute a : attrs) {
                 for(AttributeValue v : a) {
-                    String urlStr=v.getStringValue();
+                    String urlStr=v.getValue().toString();
                     LDAPURL url;
                     try {
                        url=LDAPURL.decode(urlStr, true);

--
Gitblit v1.10.0