summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@sunet.se>2022-12-07 14:46:13 +0100
committerIvan Kanakarakis <ivan.kanak@gmail.com>2022-12-07 15:57:43 +0200
commit2f804c8c878168b7f79be04e877d8a822ddcb5bb (patch)
tree72881276a24285bff3ec9c0853e4b276594870ec
parentd7f2adfda2bb26edef0df024bbd061b58a5f8541 (diff)
downloadpysaml2-2f804c8c878168b7f79be04e877d8a822ddcb5bb.tar.gz
clarify that order is important for all ECs
-rw-r--r--src/saml2/entity_category/swamid.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/saml2/entity_category/swamid.py b/src/saml2/entity_category/swamid.py
index ecbd01c5..1d4085e4 100644
--- a/src/saml2/entity_category/swamid.py
+++ b/src/saml2/entity_category/swamid.py
@@ -100,6 +100,8 @@ NREN = "http://www.swamid.se/category/nren-service" # Deprecated from 2021-03-3
HEI = "http://www.swamid.se/category/hei-service" # Deprecated from 2021-03-31
RELEASE = {
+ # NOTICE: order is important
+ # no aggregation categories needs to come last and in order of least to most restrictive
"": [],
SFS_1993_1153: ["norEduPersonNIN", "eduPersonAssurance"],
(RESEARCH_AND_EDUCATION, EU): NAME + STATIC_ORG_INFO + OTHER,
@@ -111,7 +113,7 @@ RELEASE = {
ESI: MYACADEMICID_ESI,
(ESI, COCOv1): MYACADEMICID_ESI + GEANT_COCO,
(ESI, COCOv2): MYACADEMICID_ESI + REFEDS_COCO,
- # order is important for no aggregation categories as the last one wins if more than one is found
+ # no aggregation categories
PERSONALIZED: REFEDS_PERSONALIZED_ACCESS,
PSEUDONYMOUS: REFEDS_PSEUDONYMOUS_ACCESS,
ANONYMOUS: REFEDS_ANONYMOUS_ACCESS,