List rolesList = null;
if(rolesJSON != null){
rolesList = deserializeRolesJSONArray(rolesJSON);
}
id = userDao.fullSaveOrUpdateSbiUser(user, rolesList, attrList);
logger.debug("User updated or Inserted");
JSONObject attributesResponseSuccessJSON = new JSONObject();
attributesResponseSuccessJSON.put("success", true);
attributesResponseSuccessJSON.put("responseText", "Operation succeded");
attributesResponseSuccessJSON.put("id", id);