if (passwordHashFunction != null) {
login.setHashFunctionName(passwordHashFunction);
}
entry.addExtension(login);
Name name = new Name();
name.setGivenName(givenName);
name.setFamilyName(familyName);
entry.addExtension(name);
if (quotaLimitInMb != null) {
Quota quota = new Quota();
quota.setLimit(quotaLimitInMb);