Change SAML2 sessions backend to use Store API
authorRob Crittenden <rcritten@redhat.com>
Tue, 21 Apr 2015 13:35:25 +0000 (09:35 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Mon, 11 May 2015 22:39:10 +0000 (00:39 +0200)
commitbc133a7cb4a319675e4bb577812c7475009175b7
tree306e640f7547b52bd1bd78b72c18b6f706061d97
parent2858e7a24f9f071a20be00700dc9cec8931434a6
Change SAML2 sessions backend to use Store API

The basic session API remains the same, just replace
the calls to pull data out of the user session to
instead pull from the database.

The per-session logout state is now a constant rather than
being a member of either the logged_in or logging_out
dictionaries.

https://fedorahosted.org/ipsilon/ticket/90

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/providers/saml2/sessions.py