while (token.hasMoreTokens()) {
String value = token.nextToken();
if (log.isDebugEnabled()) {
log.debug("Adding objectclass value: "+value);
}
attr.addValue(value);
}
attributeSet.add(attr);
/* To Add an entry to the directory,
* -- Create the attributes of the entry and add them to an attribute set