@RestController @RequestMapping(value="/rest/admin") public class IdmProfileResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected GroupService |
groupService |
protected ProfileService |
profileService |
protected UserService |
userService |
| Constructor and Description |
|---|
IdmProfileResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
changePassword(ChangePasswordRepresentation changePasswordRepresentation) |
org.flowable.ui.common.model.UserRepresentation |
getProfile() |
void |
getProfilePicture(javax.servlet.http.HttpServletResponse response) |
org.flowable.ui.common.model.UserRepresentation |
updateProfile(org.flowable.ui.common.model.UserRepresentation userRepresentation) |
void |
uploadProfilePicture(org.springframework.web.multipart.MultipartFile file) |
@Autowired protected ProfileService profileService
@Autowired protected GroupService groupService
@Autowired protected UserService userService
@GetMapping(value="/profile",
produces="application/json")
public org.flowable.ui.common.model.UserRepresentation getProfile()
@PostMapping(value="/profile",
produces="application/json")
public org.flowable.ui.common.model.UserRepresentation updateProfile(@RequestBody
org.flowable.ui.common.model.UserRepresentation userRepresentation)
@ResponseStatus(value=OK)
@PostMapping(value="/profile-password",
produces="application/json")
public void changePassword(@RequestBody
ChangePasswordRepresentation changePasswordRepresentation)
@GetMapping(value="/profile-picture") public void getProfilePicture(javax.servlet.http.HttpServletResponse response)
@ResponseStatus(value=OK)
@PostMapping(value="/profile-picture",
produces="application/json")
public void uploadProfilePicture(@RequestParam(value="file")
org.springframework.web.multipart.MultipartFile file)
Copyright © 2021 Flowable. All rights reserved.