try {
firstname = request.getParameter("firstname");
lastname = request.getParameter("lastname");
accountInfoBean.setFirstname(firstname);
accountInfoBean.setLastname(lastname);
AccountMgtClient client = new AccountMgtClient(config, session);
return client.updateFullname(accountInfoBean);
} catch (Exception e) {
String msg = "Failed to update tenant with firstname: " + firstname;
log.error(msg, e);
throw new Exception(msg, e);
}