0

Is there a way to get the user id from the Authentication interface? I am only able to get only the username.
@RequestMapping(value = "/photo/" , method = RequestMethod.POST,headers = {"content-type=multipart/form-data"})
public @ResponseBody Photo addPhotoData(@RequestParam("data") MultipartFile...