0
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png)
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...