|
|
|
@ -142,6 +142,11 @@ public interface UserManagementService {
|
|
|
|
|
value = "Username of the user to be fetched.",
|
|
|
|
|
required = true)
|
|
|
|
|
@PathParam("username") String username,
|
|
|
|
|
@ApiParam(
|
|
|
|
|
name = "domain",
|
|
|
|
|
value = "Domain name of the user store.",
|
|
|
|
|
required = false)
|
|
|
|
|
@QueryParam("domain") String domain,
|
|
|
|
|
@ApiParam(
|
|
|
|
|
name = "If-Modified-Since",
|
|
|
|
|
value = "Validates if the requested variant has not been modified since the time specified",
|
|
|
|
@ -199,6 +204,11 @@ public interface UserManagementService {
|
|
|
|
|
value = "Username of the user to be updated.",
|
|
|
|
|
required = true)
|
|
|
|
|
@PathParam("username") String username,
|
|
|
|
|
@ApiParam(
|
|
|
|
|
name = "domain",
|
|
|
|
|
value = "Domain name of the user store.",
|
|
|
|
|
required = false)
|
|
|
|
|
@QueryParam("domain") String domain,
|
|
|
|
|
@ApiParam(
|
|
|
|
|
name = "userData",
|
|
|
|
|
value = "User related details.",
|
|
|
|
@ -230,7 +240,12 @@ public interface UserManagementService {
|
|
|
|
|
@Permission(name = "Manage Users", permission = "/device-mgt/users/manage")
|
|
|
|
|
Response removeUser(
|
|
|
|
|
@ApiParam(name = "username", value = "Username of the user to be deleted.", required = true)
|
|
|
|
|
@PathParam("username") String username);
|
|
|
|
|
@PathParam("username") String username,
|
|
|
|
|
@ApiParam(
|
|
|
|
|
name = "domain",
|
|
|
|
|
value = "Domain name of the user store.",
|
|
|
|
|
required = false)
|
|
|
|
|
@QueryParam("domain") String domain);
|
|
|
|
|
|
|
|
|
|
@GET
|
|
|
|
|
@Path("/{username}/roles")
|
|
|
|
@ -279,7 +294,12 @@ public interface UserManagementService {
|
|
|
|
|
@Permission(name = "View Users", permission = "/device-mgt/users/view")
|
|
|
|
|
Response getRolesOfUser(
|
|
|
|
|
@ApiParam(name = "username", value = "Username of the user.", required = true)
|
|
|
|
|
@PathParam("username") String username);
|
|
|
|
|
@PathParam("username") String username,
|
|
|
|
|
@ApiParam(
|
|
|
|
|
name = "domain",
|
|
|
|
|
value = "Domain name of the user store.",
|
|
|
|
|
required = false)
|
|
|
|
|
@QueryParam("domain") String domain);
|
|
|
|
|
|
|
|
|
|
@GET
|
|
|
|
|
@ApiOperation(
|
|
|
|
|