nature.setLastName(ctx.getStringAttribute("sn"));
nature.setFirstName(ctx.getStringAttribute("givenName"));
nature.setEmail(ctx.getStringAttribute("mail"));
+ nature.setDescription(ctx.getStringAttribute("description"));
return nature;
}
ctx.setAttributeValue("sn", nature.getLastName());
ctx.setAttributeValue("givenName", nature.getFirstName());
ctx.setAttributeValue("mail", nature.getEmail());
+ if (nature.getDescription() != null) {
+ ctx.setAttributeValue("description", nature.getDescription());
+ }
}
public Boolean supports(UserNature userNature) {