*/
@GET
@Path("/{login}")
@Produces(Namespaces.MIME_TYPE_JSON)
public Response getUser(@PathParam("login") String login) {
UserAccount account = accountService.getAccount(login);
if (account == null) return Response.status(Status.NOT_FOUND).entity(String.format("No login for '%s' found!", login)).build();
try {
RepositoryConnection conn = sesameService.getConnection();
try {
UserWebService.AccountPoJo apj = new UserWebService.AccountPoJo(account.getLogin(), account.getWebId());
apj.setRoles(account.getRoles());
RepositoryResult<Statement> triples = conn.getStatements(conn.getValueFactory().createURI(account.getWebId()),null,null,true);
while(triples.hasNext()) {
Statement t = triples.next();
String prop = t.getPredicate().stringValue();