From 7bf7c3c03fd3a1efeaf3f8e3dd75922e2f5f9921 Mon Sep 17 00:00:00 2001
From: Thomas <>
Date: Tue, 8 Mar 2022 19:06:10 +0100
Subject: refactor(core): move all project libs into sub-project 'modules'
---
.../resources/config/additional-attributes.xml | 39 +++
.../src/test/resources/config/eidas-attributes.xml | 376 +++++++++++++++++++++
.../resources/config/junit_config_1.properties | 6 +
.../spring/SpringTest-context_basic_mapConfig.xml | 20 ++
.../spring/SpringTest-context_basic_test.xml | 42 +++
5 files changed, 483 insertions(+)
create mode 100644 modules/eidas_proxy-sevice/src/test/resources/config/additional-attributes.xml
create mode 100644 modules/eidas_proxy-sevice/src/test/resources/config/eidas-attributes.xml
create mode 100644 modules/eidas_proxy-sevice/src/test/resources/config/junit_config_1.properties
create mode 100644 modules/eidas_proxy-sevice/src/test/resources/spring/SpringTest-context_basic_mapConfig.xml
create mode 100644 modules/eidas_proxy-sevice/src/test/resources/spring/SpringTest-context_basic_test.xml
(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
new file mode 100644
index 00000000..6510546e
--- /dev/null
+++ b/modules/eidas_proxy-sevice/src/test/resources/config/additional-attributes.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+ Dynamic attributes
+
+ http://eidas.europa.eu/attributes/naturalperson/AdditionalAttribute
+ AdditionalAttribute
+ NaturalPerson
+ false
+ http://www.w3.org/2001/XMLSchema
+ string
+ xs
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/LegalAdditionalAttribute
+ LegalAdditionalAttribute
+ LegalPerson
+ false
+ http://www.w3.org/2001/XMLSchema
+ string
+ xs
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+
diff --git a/modules/eidas_proxy-sevice/src/test/resources/config/eidas-attributes.xml b/modules/eidas_proxy-sevice/src/test/resources/config/eidas-attributes.xml
new file mode 100644
index 00000000..cbae35db
--- /dev/null
+++ b/modules/eidas_proxy-sevice/src/test/resources/config/eidas-attributes.xml
@@ -0,0 +1,376 @@
+
+
+
+
+
+ eIDAS attributes
+
+ http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier
+ PersonIdentifier
+ NaturalPerson
+ true
+ true
+ http://eidas.europa.eu/attributes/naturalperson
+ PersonIdentifierType
+ eidas-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/CurrentFamilyName
+ FamilyName
+ NaturalPerson
+ true
+ true
+ http://eidas.europa.eu/attributes/naturalperson
+ CurrentFamilyNameType
+ eidas-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/CurrentGivenName
+ FirstName
+ NaturalPerson
+ true
+ true
+ http://eidas.europa.eu/attributes/naturalperson
+ CurrentGivenNameType
+ eidas-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/DateOfBirth
+ DateOfBirth
+ NaturalPerson
+ true
+ http://eidas.europa.eu/attributes/naturalperson
+ DateOfBirthType
+ eidas-natural
+ eu.eidas.auth.commons.attribute.impl.DateTimeAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/BirthName
+ BirthName
+ NaturalPerson
+ false
+ true
+ http://eidas.europa.eu/attributes/naturalperson
+ BirthNameType
+ eidas-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/PlaceOfBirth
+ PlaceOfBirth
+ NaturalPerson
+ false
+ http://eidas.europa.eu/attributes/naturalperson
+ PlaceOfBirthType
+ eidas-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/CurrentAddress
+ CurrentAddress
+ NaturalPerson
+ false
+ http://eidas.europa.eu/attributes/naturalperson
+ CurrentAddressType
+ eidas-natural
+ eu.eidas.auth.commons.protocol.eidas.impl.CurrentAddressAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/Gender
+ Gender
+ NaturalPerson
+ false
+ http://eidas.europa.eu/attributes/naturalperson
+ GenderType
+ eidas-natural
+ eu.eidas.auth.commons.protocol.eidas.impl.GenderAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/LegalPersonIdentifier
+ LegalPersonIdentifier
+ LegalPerson
+ true
+ true
+ http://eidas.europa.eu/attributes/legalperson
+ LegalPersonIdentifierType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/LegalName
+ LegalName
+ LegalPerson
+ true
+ true
+ http://eidas.europa.eu/attributes/legalperson
+ LegalNameType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/LegalPersonAddress
+ LegalAddress
+ LegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson
+ LegalPersonAddressType
+ eidas-legal
+ eu.eidas.auth.commons.protocol.eidas.impl.LegalAddressAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/VATRegistrationNumber
+ VATRegistration
+ LegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson
+ VATRegistrationNumberType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/TaxReference
+ TaxReference
+ LegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson
+ TaxReferenceType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/D-2012-17-EUIdentifier
+ D-2012-17-EUIdentifier
+ LegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson
+ D-2012-17-EUIdentifierType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/LEI
+ LEI
+ LegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson
+ LEIType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/EORI
+ EORI
+ LegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson
+ EORIType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/SEED
+ SEED
+ LegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson
+ SEEDType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/SIC
+ SIC
+ LegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson
+ SICType
+ eidas-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/representative/PersonIdentifier
+ RepresentativePersonIdentifier
+ RepresentativeNaturalPerson
+ false
+ true
+ http://eidas.europa.eu/attributes/naturalperson/representative
+ PersonIdentifierType
+ eidas-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/representative/CurrentFamilyName
+ RepresentativeFamilyName
+ RepresentativeNaturalPerson
+ false
+ true
+ http://eidas.europa.eu/attributes/naturalperson/representative
+ CurrentFamilyNameType
+ eidas-reprentative-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/representative/CurrentGivenName
+ RepresentativeFirstName
+ RepresentativeNaturalPerson
+ false
+ true
+ http://eidas.europa.eu/attributes/naturalperson/representative
+ CurrentGivenNameType
+ eidas-reprentative-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/representative/DateOfBirth
+ RepresentativeDateOfBirth
+ RepresentativeNaturalPerson
+ false
+ http://eidas.europa.eu/attributes/naturalperson/representative
+ DateOfBirthType
+ eidas-reprentative-natural
+ eu.eidas.auth.commons.attribute.impl.DateTimeAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/representative/BirthName
+ RepresentativeBirthName
+ RepresentativeNaturalPerson
+ false
+ true
+ http://eidas.europa.eu/attributes/naturalperson/representative
+ BirthNameType
+ eidas-reprentative-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/representative/PlaceOfBirth
+ RepresentativePlaceOfBirth
+ RepresentativeNaturalPerson
+ false
+ http://eidas.europa.eu/attributes/naturalperson/representative
+ PlaceOfBirthType
+ eidas-reprentative-natural
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/representative/CurrentAddress
+ RepresentativeCurrentAddress
+ RepresentativeNaturalPerson
+ false
+ http://eidas.europa.eu/attributes/naturalperson/representative
+ CurrentAddressType
+ eidas-reprentative-natural
+ eu.eidas.auth.commons.protocol.eidas.impl.RepvCurrentAddressAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/naturalperson/representative/Gender
+ RepresentativeGender
+ RepresentativeNaturalPerson
+ false
+ http://eidas.europa.eu/attributes/naturalperson/representative
+ GenderType
+ eidas-reprentative-natural
+ eu.eidas.auth.commons.protocol.eidas.impl.GenderAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/LegalPersonIdentifier
+ RepresentativeLegalPersonIdentifier
+ RepresentativeLegalPerson
+ false
+ true
+ http://eidas.europa.eu/attributes/legalperson/representative
+ LegalPersonIdentifierType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/LegalName
+ RepresentativeLegalName
+ RepresentativeLegalPerson
+ false
+ true
+ http://eidas.europa.eu/attributes/legalperson/representative
+ LegalNameType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/LegalPersonAddress
+ RepresentativeLegalAddress
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ LegalPersonAddressType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.protocol.eidas.impl.RepvLegalAddressAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/VATRegistrationNumber
+ RepresentativeVATRegistration
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ VATRegistrationNumberType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/TaxReference
+ RepresentativeTaxReference
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ TaxReferenceType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/D-2012-17-EUIdentifier
+ RepresentativeD-2012-17-EUIdentifier
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ D-2012-17-EUIdentifierType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/LEI
+ RepresentativeLEI
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ LEIType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/EORI
+ RepresentativeEORI
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ EORIType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/SEED
+ RepresentativeSEED
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ SEEDType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/SIC
+ RepresentativeSIC
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ SICType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/LegalPersonAddress
+ RepresentativeLegalAddress
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ LegalPersonAddressType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.protocol.eidas.impl.RepvLegalAddressAttributeValueMarshaller
+
+ http://eidas.europa.eu/attributes/legalperson/representative/VATRegistrationNumber
+ RepresentativeVATRegistration
+ RepresentativeLegalPerson
+ false
+ http://eidas.europa.eu/attributes/legalperson/representative
+ VATRegistrationNumberType
+ eidas-reprentative-legal
+ eu.eidas.auth.commons.attribute.impl.LiteralStringAttributeValueMarshaller
+
+
+
diff --git a/modules/eidas_proxy-sevice/src/test/resources/config/junit_config_1.properties b/modules/eidas_proxy-sevice/src/test/resources/config/junit_config_1.properties
new file mode 100644
index 00000000..4f3b82b5
--- /dev/null
+++ b/modules/eidas_proxy-sevice/src/test/resources/config/junit_config_1.properties
@@ -0,0 +1,6 @@
+## Basic service configuration
+eidas.ms.context.url.prefix=http://localhost
+eidas.ms.context.url.request.validation=false
+
+eidas.ms.auth.eIDAS.node_v2.proxy.entityId=ownSpecificProxy
+eidas.ms.auth.eIDAS.node_v2.proxy.forward.endpoint=http://eidas.proxy/endpoint
\ No newline at end of file
diff --git a/modules/eidas_proxy-sevice/src/test/resources/spring/SpringTest-context_basic_mapConfig.xml b/modules/eidas_proxy-sevice/src/test/resources/spring/SpringTest-context_basic_mapConfig.xml
new file mode 100644
index 00000000..fe9ff441
--- /dev/null
+++ b/modules/eidas_proxy-sevice/src/test/resources/spring/SpringTest-context_basic_mapConfig.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/modules/eidas_proxy-sevice/src/test/resources/spring/SpringTest-context_basic_test.xml b/modules/eidas_proxy-sevice/src/test/resources/spring/SpringTest-context_basic_test.xml
new file mode 100644
index 00000000..9870d22a
--- /dev/null
+++ b/modules/eidas_proxy-sevice/src/test/resources/spring/SpringTest-context_basic_test.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
cgit v1.2.3