| | |
| | | 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 |
| | |
| | | |
| | | // 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)); |
| | | } |
| | | |
| | |
| | | |
| | | // 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())); |
| | | } |
| | | |