summaryrefslogtreecommitdiffstats
path: root/docs/lasso-book
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-08-11 16:17:19 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-08-11 16:17:19 +0000
commit779faf8cb9460163524396dbf19853b2aaec7306 (patch)
treec35e4a7434302ef2a976fd1598ff3070f15d4a7e /docs/lasso-book
parent40600d542ca1db99b21b1015b6c4a3abbd03aed9 (diff)
downloadlasso-779faf8cb9460163524396dbf19853b2aaec7306.tar.gz
lasso-779faf8cb9460163524396dbf19853b2aaec7306.tar.xz
lasso-779faf8cb9460163524396dbf19853b2aaec7306.zip
more on database section
Diffstat (limited to 'docs/lasso-book')
-rw-r--r--docs/lasso-book/writing-a-c-sp.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/lasso-book/writing-a-c-sp.txt b/docs/lasso-book/writing-a-c-sp.txt
index 82f28251..32703587 100644
--- a/docs/lasso-book/writing-a-c-sp.txt
+++ b/docs/lasso-book/writing-a-c-sp.txt
@@ -220,6 +220,20 @@ User Id existing data (name, address...) Identity dump
2 ... <Identity> ...
======= ======================================== ==============
+Mapping between existing users and name identifiers sent by the identity
+provider can be done with a simple table.
+
+=============== =======
+Name Identifier User Id
+=============== =======
+AQWWRRS... 1
+CGFASDE... 2
+YYSSSDS... 1
+=============== =======
+
+.. note:: A separate table is needed because one user Id could map
+ to several name identifiers; in case there are several identity
+ providers.
Sessions are also commonly stored in databases; just add a session dump column
to the existing session table:
@@ -231,6 +245,13 @@ Session Id misc session data Session dump
3338824 ... <Session> ...
========== ================= =============
+Like users; sessions should be mapped to name identifiers.
+
+=============== ==========
+Name Identifier Session Id
+=============== ==========
+AQWWRRS... 3338824
+=============== ==========