summaryrefslogtreecommitdiffstats
path: root/ipsilon/providers/saml2/auth.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-04-28 15:16:54 -0400
committerRob Crittenden <rcritten@redhat.com>2015-04-28 15:43:08 -0400
commit31bd0555be187e9a14d392fa6a81e4c0c342ac5d (patch)
tree02489a3332ef4891c7d4e2c39b2e4b9dbd1e6540 /ipsilon/providers/saml2/auth.py
parent666cdec13aefea5230dfdbfcf5402159f4d59469 (diff)
downloadipsilon.git-31bd0555be187e9a14d392fa6a81e4c0c342ac5d.tar.gz
ipsilon.git-31bd0555be187e9a14d392fa6a81e4c0c342ac5d.tar.xz
ipsilon.git-31bd0555be187e9a14d392fa6a81e4c0c342ac5d.zip
Change references to authkrb plugin to authgssapirename_krb
With the switch to mod_auth_gssapi we aren't limited to only negotiated Kerberos so name the plugin to reflect this. https://fedorahosted.org/ipsilon/ticket/114 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'ipsilon/providers/saml2/auth.py')
-rw-r--r--ipsilon/providers/saml2/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsilon/providers/saml2/auth.py b/ipsilon/providers/saml2/auth.py
index bdcb9b8..521e0c0 100644
--- a/ipsilon/providers/saml2/auth.py
+++ b/ipsilon/providers/saml2/auth.py
@@ -197,7 +197,7 @@ class AuthenticateRequest(ProviderPageBase):
elif nameidfmt == lasso.SAML2_NAME_IDENTIFIER_FORMAT_TRANSIENT:
nameid = '_' + uuid.uuid4().hex
elif nameidfmt == lasso.SAML2_NAME_IDENTIFIER_FORMAT_KERBEROS:
- nameid = us.get_data('user', 'krb_principal_name')
+ nameid = us.get_data('user', 'gssapi_principal_name')
elif nameidfmt == lasso.SAML2_NAME_IDENTIFIER_FORMAT_EMAIL:
nameid = us.get_user().email
if not nameid: