Class UserInfoResource


  • @RestController
    public class UserInfoResource
    extends BaseUserResource
    Author:
    Frederik Heremans
    • Constructor Detail

      • UserInfoResource

        public UserInfoResource()
    • Method Detail

      • getUserInfo

        @GetMapping(value="/identity/users/{userId}/info/{key}",
                    produces="application/json")
        public UserInfoResponse getUserInfo​(@PathVariable("userId")
                                            String userId,
                                            @PathVariable("key")
                                            String key,
                                            javax.servlet.http.HttpServletRequest request)
      • 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,
                                            javax.servlet.http.HttpServletRequest request)
      • deleteUserInfo

        @DeleteMapping("/identity/users/{userId}/info/{key}")
        public void deleteUserInfo​(@PathVariable("userId")
                                   String userId,
                                   @PathVariable("key")
                                   String key,
                                   javax.servlet.http.HttpServletResponse response)
      • getValidKeyFromRequest

        protected String getValidKeyFromRequest​(org.flowable.idm.api.User user,
                                                String key)