Implemented a simple UserIdSource, that stores the user in a cookie part-03
authorKai Moritz <kai@juplo.de>
Mon, 25 Jan 2016 01:01:28 +0000 (02:01 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 30 Jan 2016 14:01:07 +0000 (15:01 +0100)
This concept was borrowed from the official example "Spring Social Canvas".

The idea to store the internal user-id in a cookie and later load the data
of the user according to the cookie is inherent insecure and must not be
used in a production environment.

One simply can use Spring-Security instead - we will show how to switch in
a later example.

This implementation was choosen only for educational purposes, because it
clarifys the design of Spring Social.


No differences found