~jcsackett/charmworld/bac-tag-constraints

Viewing all changes in revision 86.

  • Committer: Rick Harding
  • Author(s): Richard Harding
  • Date: 2012-12-18 15:23:59 UTC
  • mfrom: (84.3.8 start_users2)
  • Revision ID: rick.harding@canonical.com-20121218152359-bkhicfcrq5hq442h
Add the basic idea of logging in.

- Setup pyramid to use the authtk code to store/pull a logged in user cookie.
- Add a User and UserMgr code into the models
- After successful login via SSO, make sure we store the user into our db.
- Pyramid will then load that user on all subsequent requests as request.user.
- Add tests to the model side.
- Add simple view tests against the auth_callback given test sso responses.

R=hazmat
CC=
https://codereview.appspot.com/6941066

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: