always add mandatory attribute 'objectclass'
This commit is contained in:
committed by
Rob Winch
parent
dd7091513b
commit
9ab8cabedb
@@ -122,6 +122,8 @@ public class DefaultObjectDirectoryMapper implements ObjectDirectoryMapper {
|
||||
managedAttributeNames.addAll(Arrays.asList(attributesOfField));
|
||||
}
|
||||
}
|
||||
// always add the mandatory attribute objectclass (which is always used for the mapping)
|
||||
managedAttributeNames.add(OBJECT_CLASS_ATTRIBUTE);
|
||||
return managedAttributeNames.toArray(new String[managedAttributeNames.size()]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user