diff --git a/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UsersResource.java b/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UsersResource.java index dc53fdf633..9b704218c3 100755 --- a/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UsersResource.java +++ b/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UsersResource.java @@ -17,7 +17,7 @@ public interface UsersResource { @GET @Produces(MediaType.APPLICATION_JSON) - public List search(@QueryParam("username") String username, + List search(@QueryParam("username") String username, @QueryParam("firstName") String firstName, @QueryParam("lastName") String lastName, @QueryParam("email") String email, @@ -26,7 +26,7 @@ public interface UsersResource { @GET @Produces(MediaType.APPLICATION_JSON) - public List search(@QueryParam("search") String search, + List search(@QueryParam("search") String search, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults); @@ -34,7 +34,7 @@ public interface UsersResource { @Consumes(MediaType.APPLICATION_JSON) Response create(UserRepresentation userRepresentation); - @Path("{username}") - public UserResource get(@PathParam("username") String username); + @Path("{id}") + UserResource get(@PathParam("id") String id); }