From 6b93c404726457a04cb52430d40abcf23fdd8f31 Mon Sep 17 00:00:00 2001
From: Thomas <>
Date: Tue, 11 Oct 2022 16:40:54 +0200
Subject: 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
---
.../src/test/resources/config/additional-attributes.xml | 2 +-
.../src/test/resources/config/idaAttributeMapping.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'modules/eidas_proxy-sevice/src/test/resources')
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 @@
eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
http://e-justice.europa.eu/attributes/legalperson/eJusticePersonRoleNotExist
- eJusticeLegalPersonRole
+ eJusticeLegalPersonRoleNotExist
LegalPerson
false
http://www.w3.org/2001/XMLSchema
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
--
cgit v1.2.3