Add transactions support
authorSimo Sorce <simo@redhat.com>
Wed, 10 Sep 2014 21:19:55 +0000 (17:19 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Wed, 24 Sep 2014 18:51:24 +0000 (20:51 +0200)
commite0895efb26de64a28de7b9219f524b715c396b2b
tree06c114093b1ee22c1ed9a68e277666b9a2f3cc44
parent9e45a0dda4cfa26b531a423fc8b1c4b10d382a0f
Add transactions support

In some cases a user may end up having multiple login pags in diffeent tabs in
the borwser (session restore after a crash, or simply opening multiple urls
which all redirect to the same IdP).
Without transactions multiple authentication requests in fly may step on each
other causing potentially all of them to fail to properly authenticate and
redirect back to the original web site.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/util/data.py
ipsilon/util/trans.py [new file with mode: 0755]