summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Sklikas <nsklikas@admin.grnet.gr>2020-05-04 18:19:55 +0300
committerNikos Sklikas <nsklikas@admin.grnet.gr>2020-05-04 18:19:55 +0300
commit68ac03939a774d6b90316cbd45f312a5b83bfefc (patch)
tree2838361810e14b09e8e673624b47415e89ed3d7f
parentdcb6cd6ae74aeb85065dfd8d2334ee0435d23760 (diff)
downloadpysaml2-68ac03939a774d6b90316cbd45f312a5b83bfefc.tar.gz
Fix eidas attribute mapping for legal person
-rw-r--r--src/saml2/attributemaps/saml_uri.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/saml2/attributemaps/saml_uri.py b/src/saml2/attributemaps/saml_uri.py
index 404d3b3c..3d56cacc 100644
--- a/src/saml2/attributemaps/saml_uri.py
+++ b/src/saml2/attributemaps/saml_uri.py
@@ -36,9 +36,9 @@ MAP = {
'identifier': 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri',
'fro': {
EIDAS_LEGALPERSON+'LegalPersonIdentifier': 'LegalPersonIdentifier',
- EIDAS_LEGALPERSON+'LegalAddress': 'LegalAddress',
+ EIDAS_LEGALPERSON+'LegalPersonAddress': 'LegalAddress',
EIDAS_LEGALPERSON+'LegalName': 'LegalName',
- EIDAS_LEGALPERSON+'VATRegistration': 'VATRegistration',
+ EIDAS_LEGALPERSON+'VATRegistrationNumber': 'VATRegistration',
EIDAS_LEGALPERSON+'TaxReference': 'TaxReference',
EIDAS_LEGALPERSON+'BusinessCodes': 'BusinessCodes',
EIDAS_LEGALPERSON+'LEI': 'LEI',
@@ -218,9 +218,9 @@ MAP = {
},
'to': {
'LegalPersonIdentifier': EIDAS_LEGALPERSON+'LegalPersonIdentifier',
- 'LegalAddress': EIDAS_LEGALPERSON+'LegalAddress',
+ 'LegalAddress': EIDAS_LEGALPERSON+'LegalPersonAddress',
'LegalName': EIDAS_LEGALPERSON+'LegalName',
- 'VATRegistration': EIDAS_LEGALPERSON+'VATRegistration',
+ 'VATRegistration': EIDAS_LEGALPERSON+'VATRegistrationNumber',
'TaxReference': EIDAS_LEGALPERSON+'TaxReference',
'BusinessCodes': EIDAS_LEGALPERSON+'BusinessCodes',
'LEI': EIDAS_LEGALPERSON+'LEI',