diff options
-rw-r--r-- | src/saml2/assertion.py | 2 | ||||
-rw-r--r-- | src/saml2/entity_category/swamid.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/saml2/assertion.py b/src/saml2/assertion.py index 4a17c098..c9ef1b31 100644 --- a/src/saml2/assertion.py +++ b/src/saml2/assertion.py @@ -481,6 +481,8 @@ class Policy(object): for attr in attrs: restrictions[attr] = None + else: + restrictions[''] = None return restrictions diff --git a/src/saml2/entity_category/swamid.py b/src/saml2/entity_category/swamid.py index d1acec74..00066d21 100644 --- a/src/saml2/entity_category/swamid.py +++ b/src/saml2/entity_category/swamid.py @@ -70,7 +70,7 @@ NREN = 'http://www.swamid.se/category/nren-service' # Deprecated from 2 HEI = 'http://www.swamid.se/category/hei-service' # Deprecated from 2021-03-31 RELEASE = { - '': [''], + '': [], SFS_1993_1153: ['norEduPersonNIN', 'eduPersonAssurance'], (RESEARCH_AND_EDUCATION, EU): NAME + STATIC_ORG_INFO + OTHER, (RESEARCH_AND_EDUCATION, NREN): NAME + STATIC_ORG_INFO + OTHER, |