summaryrefslogtreecommitdiff
path: root/src/saml2/entity_category
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2013-05-07 14:04:01 +0200
committerRoland Hedberg <roland.hedberg@adm.umu.se>2013-05-07 14:04:01 +0200
commit2bf1f734e367740d74ea843724d832cc4a66fa9d (patch)
treeff83d8c6f76c0cd09d2f3e11af2376b7fa1bb5a9 /src/saml2/entity_category
parentc54d115d5367ecdce8ccfc58148232550f221bb6 (diff)
downloadpysaml2-2bf1f734e367740d74ea843724d832cc4a66fa9d.tar.gz
Use the correct attribute names.
Diffstat (limited to 'src/saml2/entity_category')
-rw-r--r--src/saml2/entity_category/edugain.py2
-rw-r--r--src/saml2/entity_category/swamid.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/entity_category/edugain.py b/src/saml2/entity_category/edugain.py
index 5a094a73..a873daff 100644
--- a/src/saml2/entity_category/edugain.py
+++ b/src/saml2/entity_category/edugain.py
@@ -5,6 +5,6 @@ COC = "http://www.edugain.org/dataprotection/coc-eu-01-draft"
RELEASE = {
"": ["eduPersonTargetedID"],
COC: ["eduPersonPrincipalName", "eduPersonScopedAffiliation", "email",
- "givenName", "surname", "displayName", "schacHomeOrganization"]
+ "givenName", "sn", "displayName", "schacHomeOrganization"]
}
diff --git a/src/saml2/entity_category/swamid.py b/src/saml2/entity_category/swamid.py
index 96832024..c1bd9838 100644
--- a/src/saml2/entity_category/swamid.py
+++ b/src/saml2/entity_category/swamid.py
@@ -1,7 +1,7 @@
__author__ = 'rolandh'
-NAME = ["givenName", "surname", "initials", "displayName"]
+NAME = ["givenName", "initials", "displayName", "sn"]
STATIC_ORG_INFO = ["c", "o", "ou"]
OTHER = ["eduPersonPrincipalName", "eduPersonScopedAffiliation", "email"]