Map<String, Object> values = new HashMap<String, Object>();
values.put(NAME, user.getName());
values.put(TYPE, user.getProperties());
values.put(PROPERTIES, Utils.getProperties(user.getProperties()));
values.put(CREDENTIALS, Utils.getProperties(user.getCredentials()));
return new CompositeDataSupport(USER_TYPE, values);
} catch (IllegalArgumentException e) {
logVisitor.warning("getUser error", e);
throw e;
} catch (Exception e) {
logVisitor.warning("getUser error", e);