-
Committer:
Alberto Mardegan
-
Date:
2012-01-27 08:30:13 UTC
-
mto:
This revision was merged to the branch mainline in
revision
28.
-
Revision ID:
alberto.mardegan@canonical.com-20120127083013-ems1rhg9vsgo70tj
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.