diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2020-05-04 19:09:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 19:09:25 +0300 |
commit | e90430bed2ba62a751bf43ff367576e84b9130f6 (patch) | |
tree | 2838361810e14b09e8e673624b47415e89ed3d7f | |
parent | dcb6cd6ae74aeb85065dfd8d2334ee0435d23760 (diff) | |
parent | 68ac03939a774d6b90316cbd45f312a5b83bfefc (diff) | |
download | pysaml2-e90430bed2ba62a751bf43ff367576e84b9130f6.tar.gz |
Merge pull request #681 from nsklikas/fix-eidas-attribute-mapping
Fix eidas attribute mapping for legal person
-rw-r--r-- | src/saml2/attributemaps/saml_uri.py | 8 |
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', |