diff options
| -rw-r--r-- | src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java b/src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java index e5497f2..7d4c53f 100644 --- a/src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java +++ b/src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java @@ -176,7 +176,7 @@ public class LDAPLookup implements LookupManager{ + entityKey);
String objClass = LDAPLookupUtils.getFirstAttributeValue(domEntry,
"objectClass");
- ItemPath referencedPath = ItemPath.fromUUIDString(entityKey);
+ ItemPath referencedPath = new ItemPath(entityKey);
if (objClass.equals("cristalagent"))
return new AgentPath(referencedPath);
@@ -401,7 +401,7 @@ public class LDAPLookup implements LookupManager{ // extract syskey
try {
String entityKeyStr = LDAPLookupUtils.getFirstAttributeValue(entry, "cn");
- entityKey = ItemPath.fromUUIDString(entityKeyStr);
+ entityKey = new ItemPath(entityKeyStr);
} catch (ObjectNotFoundException ex) {
entityKey = null;
} catch (InvalidItemPathException ex) {
|
