Interface UserApi
-
@Consumes("application/json") @Path("/users") public interface UserApiProvides access to the Keystone User API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangePassword(String id, String originalPassword, String newPassword)Usercreate(String name, String password, Boolean enabled, String domainId, String defaultProjectId)booleandelete(String id)Userget(String id)List<User>list()List<Group>listGroups(String id)List<Project>listProjects(String id)Userupdate(String id, String name, String password, Boolean enabled, String domainId, String defaultProjectId)
-
-
-
Method Detail
-
create
@Named("users:create") @POST User create(String name, @Nullable String password, @Nullable Boolean enabled, @Nullable String domainId, @Nullable String defaultProjectId)
-
update
@Named("users:update") @Path("/{id}") User update(@PathParam("id") String id, String name, @Nullable String password, @Nullable Boolean enabled, @Nullable String domainId, @Nullable String defaultProjectId)
-
delete
@Named("users:delete") @DELETE @Path("/{id}") boolean delete(@PathParam("id") String id)
-
listGroups
@Named("users:groups") @GET @Path("/{id}/groups") List<Group> listGroups(@PathParam("id") String id)
-
listProjects
@Named("users:projects") @GET @Path("/{id}/projects") List<Project> listProjects(@PathParam("id") String id)
-
-