From e0e6d30a905e47931a89b7e9063d752a6f28106d Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 05 Feb 2014 22:45:49 +0000
Subject: [PATCH] OPENDJ-1235: Migrate configuration framework
---
opendj-config/src/main/java/org/forgerock/opendj/config/ManagedObjectPath.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-config/src/main/java/org/forgerock/opendj/config/ManagedObjectPath.java b/opendj-config/src/main/java/org/forgerock/opendj/config/ManagedObjectPath.java
index f319ee7..1e6645a 100644
--- a/opendj-config/src/main/java/org/forgerock/opendj/config/ManagedObjectPath.java
+++ b/opendj-config/src/main/java/org/forgerock/opendj/config/ManagedObjectPath.java
@@ -39,7 +39,7 @@
import org.forgerock.opendj.ldap.DN;
import org.forgerock.opendj.ldap.RDN;
import org.forgerock.opendj.ldap.schema.AttributeType;
-import org.opends.server.core.DirectoryServer;
+import org.forgerock.opendj.ldap.schema.Schema;
/**
* A path which can be used to determine the location of a managed object
@@ -140,7 +140,7 @@
// Now add the single RDN representing the named instance.
String type = profile.getRelationChildRDNType(r);
- AttributeType attrType = DirectoryServer.getAttributeType(type.toLowerCase(), true);
+ AttributeType attrType = Schema.getDefaultSchema().getAttributeType(type);
dn = dn.child(new RDN(attrType, name));
}
@@ -154,7 +154,7 @@
// Now add the single RDN representing the instance.
String type = profile.getRelationChildRDNType(r);
- AttributeType attrType = DirectoryServer.getAttributeType(type.toLowerCase(), true);
+ AttributeType attrType = Schema.getDefaultSchema().getAttributeType(type);
dn = dn.child(new RDN(attrType, d.getName()));
}
--
Gitblit v1.10.0