예제 #1
0
 /**
  * Create a new child DN from a given parent DN. The child RDN is formed from a given attribute
  * type and string value.
  *
  * @param parentDN The DN of the parent.
  * @param rdnAttrType The attribute type of the RDN.
  * @param rdnStringValue The string value of the RDN.
  * @return A new child DN.
  */
 public static DN makeChildDN(DN parentDN, AttributeType rdnAttrType, String rdnStringValue) {
   AttributeValue attrValue = AttributeValues.create(rdnAttrType, rdnStringValue);
   return parentDN.concat(RDN.create(rdnAttrType, attrValue));
 }