From: Kai Moritz Date: Mon, 25 Jan 2016 01:01:28 +0000 (+0100) Subject: Implemented a simple UserIdSource, that stores the user in a cookie X-Git-Tag: part-03 X-Git-Url: https://juplo.de/gitweb/?p=examples%2Ffacebook-app;a=commitdiff_plain;h=02f599692669d48f9865764fda994ad61d203ffb;hp=02f599692669d48f9865764fda994ad61d203ffb Implemented a simple UserIdSource, that stores the user in a cookie 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. ---