@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) |
UserRepresentation |
getProfile() |
void |
getProfilePicture(javax.servlet.http.HttpServletResponse response) |
UserRepresentation |
updateProfile(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 UserRepresentation getProfile()
@PostMapping(value="/profile",
produces="application/json")
public UserRepresentation updateProfile(@RequestBody
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 © 2023 Flowable. All rights reserved.