public UserNature mapUserInfoFromContext(DirContextOperations ctx) {
CoworkerNature nature = new CoworkerNature();
nature.setMobile(ctx.getStringAttribute("mobile"));
nature.setTelephoneNumber(ctx.getStringAttribute("telephoneNumber"));
public UserNature mapUserInfoFromContext(DirContextOperations ctx) {
CoworkerNature nature = new CoworkerNature();
nature.setMobile(ctx.getStringAttribute("mobile"));
nature.setTelephoneNumber(ctx.getStringAttribute("telephoneNumber"));
- ctx.setAttributeValue("telephoneNumber", nature
- .getTelephoneNumber());
+ ctx.setAttributeValue("telephoneNumber",
+ nature.getTelephoneNumber());