aboutsummaryrefslogtreecommitdiff
path: root/modules/eidas_proxy-sevice/src/test/resources
diff options
context:
space:
mode:
authorThomas <>2022-10-11 16:40:54 +0200
committerThomas <>2022-10-11 16:40:54 +0200
commit6b93c404726457a04cb52430d40abcf23fdd8f31 (patch)
treeb6c21a3cbec8817224a948f2edf05f198e832538 /modules/eidas_proxy-sevice/src/test/resources
parent1edc816481ac7ee2cbdecbd64f44f367d25fc3bd (diff)
downloadNational_eIDAS_Gateway-6b93c404726457a04cb52430d40abcf23fdd8f31.tar.gz
National_eIDAS_Gateway-6b93c404726457a04cb52430d40abcf23fdd8f31.tar.bz2
National_eIDAS_Gateway-6b93c404726457a04cb52430d40abcf23fdd8f31.zip
feat(ejustic): add work-around to support BORIS eJustice attribute for natural person on IDA system
eJustice attributes are implemented by using mandates on IDA side. However, European Commission only supports authentication without mandates. This work-around integrates both requirements into MS-Proxy-Service
Diffstat (limited to 'modules/eidas_proxy-sevice/src/test/resources')
-rw-r--r--modules/eidas_proxy-sevice/src/test/resources/config/additional-attributes.xml2
-rw-r--r--modules/eidas_proxy-sevice/src/test/resources/config/idaAttributeMapping.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/eidas_proxy-sevice/src/test/resources/config/additional-attributes.xml b/modules/eidas_proxy-sevice/src/test/resources/config/additional-attributes.xml
index c7b40d90..a662c1ab 100644
--- a/modules/eidas_proxy-sevice/src/test/resources/config/additional-attributes.xml
+++ b/modules/eidas_proxy-sevice/src/test/resources/config/additional-attributes.xml
@@ -55,7 +55,7 @@
<entry key="4.AttributeValueMarshaller">eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller</entry>
<entry key="5.NameUri">http://e-justice.europa.eu/attributes/legalperson/eJusticePersonRoleNotExist</entry>
- <entry key="5.FriendlyName">eJusticeLegalPersonRole</entry>
+ <entry key="5.FriendlyName">eJusticeLegalPersonRoleNotExist</entry>
<entry key="5.PersonType">LegalPerson</entry>
<entry key="5.Required">false</entry>
<entry key="5.XmlType.NamespaceUri">http://www.w3.org/2001/XMLSchema</entry>
diff --git a/modules/eidas_proxy-sevice/src/test/resources/config/idaAttributeMapping.json b/modules/eidas_proxy-sevice/src/test/resources/config/idaAttributeMapping.json
index 96034d12..a7014e76 100644
--- a/modules/eidas_proxy-sevice/src/test/resources/config/idaAttributeMapping.json
+++ b/modules/eidas_proxy-sevice/src/test/resources/config/idaAttributeMapping.json
@@ -130,7 +130,7 @@
},
{
"eidasAttribute": "http://e-justice.europa.eu/attributes/naturalperson/eJusticeNaturalPersonRole",
- "specificAttributeHandlerClass": "at.asitplus.eidas.specific.modules.msproxyservice.handler.EJusticePersonRoleHandler",
+ "specificAttributeHandlerClass": "at.asitplus.eidas.specific.modules.msproxyservice.handler.EJusticWorkaroundPersonRoleHandler",
"type": {
"mds": false,
"autoIncludeWithMandates": false