// Add admin (default)partition if it is not already created.
PartitionManager partitionManager = this.ldapServer.getPartitionManager();
PartitionInfo defaultPartitionInfo=
configurationBuilder.getPartitionConfigurations();
boolean defaultPartitionAlreadyExisted=partitionManager.partitionDirectoryExists(
defaultPartitionInfo.getPartitionId());
if (!defaultPartitionAlreadyExisted) {
partitionManager.addPartition(defaultPartitionInfo);
} else {