diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-05-05 21:02:30 +0200 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-05-05 21:02:30 +0200 |
commit | 4951a6089c9095a561d144994f530dae544cfed3 (patch) | |
tree | 32223f5fa346ebf81ca54cdd6cd83f6d6432904d /src/saml2/entity_category | |
parent | c96237ce9f4ac51451c6cebdab9a9aa524bd607a (diff) | |
download | pysaml2-4951a6089c9095a561d144994f530dae544cfed3.tar.gz |
Added support for entity categories - some fixes.
Diffstat (limited to 'src/saml2/entity_category')
-rw-r--r-- | src/saml2/entity_category/swamid.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saml2/entity_category/swamid.py b/src/saml2/entity_category/swamid.py index 899086f7..96832024 100644 --- a/src/saml2/entity_category/swamid.py +++ b/src/saml2/entity_category/swamid.py @@ -5,9 +5,11 @@ NAME = ["givenName", "surname", "initials", "displayName"] STATIC_ORG_INFO = ["c", "o", "ou"] OTHER = ["eduPersonPrincipalName", "eduPersonScopedAffiliation", "email"] +# These give you access to information RESEARCH_AND_EDUCATION = "http://www.swamid.se/category/research-and-education" SFS_1993_1153 = "http://www.swamid.se/category/sfs-1993-1153" +# presently these don't EU = "http://www.swamid.se/category/eu-adequate-protection" NREN = "http://www.swamid.se/category/nren-service" HEI = "http://www.swamid.se/category/hei-service" @@ -16,5 +18,4 @@ RELEASE = { "": ["eduPersonTargetedID"], SFS_1993_1153: ["norEduPersonNIN"], RESEARCH_AND_EDUCATION: NAME + STATIC_ORG_INFO + OTHER, -} - +}
\ No newline at end of file |