Come on, this should be somehow possible. After 2 months, any ideas?
Type: Posts; User: wacker; Keyword(s):
Come on, this should be somehow possible. After 2 months, any ideas?
Is this really not possible with Spring Data / MongoDB? -- Just to update an outdated object with fresh contents from the database, like in JPA?
The user object is loaded on login time by spring security. Then, during the session:
User self = (User) SecurityContextHolder.getContext().getAuthentication().getPrincipal();
...