-
Type: Bug
-
Status: Done (View Workflow)
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: common 0.11
-
Fix Version/s: common 0.11
-
Labels:None
SecurityService.getCurrentUser() returns hibernate detached user instance (just takes pojo from memory). This caused a lot of issues in jcommune.
Please return not just principal but something like userDao.getByUsername(((User) principal).getUsername());