~ubuntu-branches/ubuntu/raring/signon-ui/raring

Viewing all changes in revision 27.1.1.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: