-
Committer:
Alberto Mardegan
-
Date:
2012-01-27 09:44:51 UTC
-
mfrom:
(27.1.1 cookies)
-
Revision ID:
alberto.mardegan@canonical.com-20120127094451-2d17yp21gw5sgi1r
Use a per-identity cookie jar
It's wrong to share cookies between identities, because usually identities
refer to different accounts; sharing cookies between them could make signon-ui
return a token which refers to a wrong account.
So, let's implement a mechanism where each identity has its own cookie jar,
while session requests not bound to any identity share the same cookies.