List<Role> roles = this.listUserRoles(name);
List<String> roleNames = new ArrayList<String>();
for (Role r : roles)
roleNames.add(r.getName());
UserSecurityInfo result = new UserSecurityInfo(name, StringUtils
.join(roleNames, ","));
return result;
}
return null;