Pull the GSSAPI principal out of the userattrs
authorRob Crittenden <rcritten@redhat.com>
Tue, 5 May 2015 16:37:31 +0000 (12:37 -0400)
committerSimo Sorce <simo@redhat.com>
Thu, 7 May 2015 14:50:12 +0000 (10:50 -0400)
commit93d4e52712767fe955f3a44a60a6c6f0f909423b
treeaba926ba11d3ebb79394cb16196221e5fb2732ab
parentdfa2d200b460cc852ec10a8780fe3966dc0d5906
Pull the GSSAPI principal out of the userattrs

This was originally getting the principal from the
user object itself which meant it was looking for
it in the database. Look in the attributes instead
which are stored in the user session.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
ipsilon/providers/saml2/auth.py
tests/helpers/http.py