132133134135136137138139140
} updated = users.update(b); } WrappedUser response = new WrappedUser(); response.user = toModel(updated); return response; }
189190191192193194195196197
b.setEmail(req.email); UserData user = identityService.createUser(new UserCreationData(domainData, b, req.password)); WrappedUser response = new WrappedUser(); response.user = toModel(user); return response; }
200201202203204205206207208209
@Path("{id}") @Produces({ JSON }) public WrappedUser getUserDetails(@PathParam("id") long id) throws CloudException { UserData user = getUser(id); WrappedUser response = new WrappedUser(); response.user = toModel(user); return response; }