@RestController @RequestMapping(value="/app/rest/admin") public class IdmProfileResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected GroupService |
groupService |
protected ProfileService |
profileService |
| 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
@RequestMapping(value="/profile",
method=GET,
produces="application/json")
public org.flowable.ui.common.model.UserRepresentation getProfile()
@RequestMapping(value="/profile",
method=POST,
produces="application/json")
public org.flowable.ui.common.model.UserRepresentation updateProfile(@RequestBody
org.flowable.ui.common.model.UserRepresentation userRepresentation)
@ResponseStatus(value=OK)
@RequestMapping(value="/profile-password",
method=POST,
produces="application/json")
public void changePassword(@RequestBody
ChangePasswordRepresentation changePasswordRepresentation)
@RequestMapping(value="/profile-picture",
method=GET)
public void getProfilePicture(javax.servlet.http.HttpServletResponse response)
@ResponseStatus(value=OK)
@RequestMapping(value="/profile-picture",
method=POST,
produces="application/json")
public void uploadProfilePicture(@RequestParam(value="file")
org.springframework.web.multipart.MultipartFile file)
Copyright © 2018 Flowable. All rights reserved.