Description
The SearchResource (JSON mode) which provides the list of users/groups has changed in 2.6.0 version. Previously, When a client requested a resource, the response used to be of the format:
response.json
{ expand: "user", users: [ { link: { href: "http://localhost:4990/crowd/rest/usermanagement/1/user?username=admin", rel: "self" }, name: "admin" } ] }
With 2.6.0, the response has an extra level of indirection, the response looks like(Note the UserEntity object being introduced):
response.json
{ expand: "user", users: [ { UserEntity: { link: { href: "http://localhost:8095/crowd/rest/usermanagement/1/user?username=admin", rel: "self" }, name: "admin" } } ] }
This will break existing REST clients which use the JSON format endpoint.