From 258bb7ddd2455f52f8f6784b45420dba628f689f Mon Sep 17 00:00:00 2001 From: Antony Chazapis Date: Mon, 17 Oct 2011 16:52:35 +0300 Subject: [PATCH] Update Shibboleth headers, as reported by NOC. --- docs/source/adminguide.rst | 14 +++++++------- pithos/aai/shibboleth.py | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/source/adminguide.rst b/docs/source/adminguide.rst index cab306f..3553388 100644 --- a/docs/source/adminguide.rst +++ b/docs/source/adminguide.rst @@ -153,13 +153,13 @@ Configure and run apache:: The following tokens should be available at the destination, after passing through the apache module:: - SHIB_EPPN = "eppn" # eduPersonPrincipalName - SHIB_NAME = "Shib-InetOrgPerson-givenName" - SHIB_SURNAME = "Shib-Person-surname" - SHIB_CN = "Shib-Person-commonName" - SHIB_DISPLAYNAME = "Shib-InetOrgPerson-displayName" - SHIB_EP_AFFILIATION = "Shib-EP-Affiliation" - SHIB_SESSION_ID = "Shib-Session-ID" + eppn # eduPersonPrincipalName + Shib-InetOrgPerson-givenName + Shib-Person-surname + Shib-Person-commonName + Shib-InetOrgPerson-displayName + Shib-EP-Affiliation + Shib-Session-ID MySQL Setup ----------- diff --git a/pithos/aai/shibboleth.py b/pithos/aai/shibboleth.py index e9ff835..0b6a477 100644 --- a/pithos/aai/shibboleth.py +++ b/pithos/aai/shibboleth.py @@ -36,13 +36,13 @@ from util import register_user class Tokens: # these are mapped by the Shibboleth SP software - SHIB_EPPN = "eppn" # eduPersonPrincipalName - SHIB_NAME = "Shib-InetOrgPerson-givenName" - SHIB_SURNAME = "Shib-Person-surname" - SHIB_CN = "Shib-Person-commonName" - SHIB_DISPLAYNAME = "Shib-InetOrgPerson-displayName" - SHIB_EP_AFFILIATION = "Shib-EP-Affiliation" - SHIB_SESSION_ID = "Shib-Session-ID" + SHIB_EPPN = "HTTP_EPPN" # eduPersonPrincipalName + SHIB_NAME = "HTTP_SHIB_INETORGPERSON_GIVENNAME" + SHIB_SURNAME = "HTTP_SHIB_PERSON_SURNAME" + SHIB_CN = "HTTP_SHIB_PERSON_COMMONNAME" + SHIB_DISPLAYNAME = "HTTP_SHIB_INETORGPERSON_DISPLAYNAME" + SHIB_EP_AFFILIATION = "HTTP_SHIB_EP_AFFILIATION" + SHIB_SESSION_ID = "HTTP_SHIB_SESSION_ID" class NoUniqueToken(BaseException): -- 1.7.10.4