Class UserInfoResource
java.lang.Object
org.flowable.rest.service.api.identity.BaseUserResource
org.flowable.rest.service.api.identity.UserInfoResource
- Author:
- Frederik Heremans
-
Field Summary
FieldsFields inherited from class org.flowable.rest.service.api.identity.BaseUserResource
restApiInterceptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteUserInfo(String userId, String key) getUserInfo(String userId, String key) protected StringgetValidKeyFromRequest(User user, String key) setUserInfo(String userId, String key, UserInfoRequest userRequest) Methods inherited from class org.flowable.rest.service.api.identity.BaseUserResource
getUserFromRequest
-
Field Details
-
restResponseFactory
-
identityService
-
-
Constructor Details
-
UserInfoResource
public UserInfoResource()
-
-
Method Details
-
getUserInfo
@GetMapping(value="/identity/users/{userId}/info/{key}", produces="application/json") public UserInfoResponse getUserInfo(@PathVariable("userId") String userId, @PathVariable("key") String key) -
setUserInfo
@PutMapping(value="/identity/users/{userId}/info/{key}", produces="application/json") public UserInfoResponse setUserInfo(@PathVariable("userId") String userId, @PathVariable("key") String key, @RequestBody UserInfoRequest userRequest) -
deleteUserInfo
@DeleteMapping("/identity/users/{userId}/info/{key}") @ResponseStatus(NO_CONTENT) public void deleteUserInfo(@PathVariable("userId") String userId, @PathVariable("key") String key) -
getValidKeyFromRequest
-