From 7f0a925a72dc9841280e66fcba1515af62b9efdf Mon Sep 17 00:00:00 2001
From: Thomas <>
Date: Fri, 3 Jun 2022 15:24:01 +0200
Subject: test(core): add smoke test with full eIDAS OutGoing login and
error-handling
---
.../config/eIDAS/additional-attributes.xml | 39 +++
.../resources/config/eIDAS/eidas-attributes.xml | 376 +++++++++++++++++++++
.../config/eIDAS/igniteSpecificCommunication.xml | 109 ++++++
.../specificCommunicationDefinitionConnector.xml | 37 ++
...specificCommunicationDefinitionProxyservice.xml | 37 ++
5 files changed, 598 insertions(+)
create mode 100644 ms_specific_proxyservice/src/test/resources/config/eIDAS/additional-attributes.xml
create mode 100644 ms_specific_proxyservice/src/test/resources/config/eIDAS/eidas-attributes.xml
create mode 100644 ms_specific_proxyservice/src/test/resources/config/eIDAS/igniteSpecificCommunication.xml
create mode 100644 ms_specific_proxyservice/src/test/resources/config/eIDAS/specificCommunicationDefinitionConnector.xml
create mode 100644 ms_specific_proxyservice/src/test/resources/config/eIDAS/specificCommunicationDefinitionProxyservice.xml
(limited to 'ms_specific_proxyservice/src/test/resources/config/eIDAS')
diff --git a/ms_specific_proxyservice/src/test/resources/config/eIDAS/additional-attributes.xml b/ms_specific_proxyservice/src/test/resources/config/eIDAS/additional-attributes.xml
new file mode 100644
index 00000000..6510546e
--- /dev/null
+++ b/ms_specific_proxyservice/src/test/resources/config/eIDAS/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/ms_specific_proxyservice/src/test/resources/config/eIDAS/eidas-attributes.xml b/ms_specific_proxyservice/src/test/resources/config/eIDAS/eidas-attributes.xml
new file mode 100644
index 00000000..cbae35db
--- /dev/null
+++ b/ms_specific_proxyservice/src/test/resources/config/eIDAS/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/ms_specific_proxyservice/src/test/resources/config/eIDAS/igniteSpecificCommunication.xml b/ms_specific_proxyservice/src/test/resources/config/eIDAS/igniteSpecificCommunication.xml
new file mode 100644
index 00000000..f817f5a4
--- /dev/null
+++ b/ms_specific_proxyservice/src/test/resources/config/eIDAS/igniteSpecificCommunication.xml
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ms_specific_proxyservice/src/test/resources/config/eIDAS/specificCommunicationDefinitionConnector.xml b/ms_specific_proxyservice/src/test/resources/config/eIDAS/specificCommunicationDefinitionConnector.xml
new file mode 100644
index 00000000..d1fc042d
--- /dev/null
+++ b/ms_specific_proxyservice/src/test/resources/config/eIDAS/specificCommunicationDefinitionConnector.xml
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+ specificCommunicationDefinitionConnectorRequest
+ specificConnector
+
+
+ mySecretConnectorRequest
+ SHA-256
+
+
+ specificCommunicationDefinitionConnectorResponse
+ specificConnector
+
+
+ mySecretConnectorResponse
+ SHA-256
+
+
+ 65535
+
diff --git a/ms_specific_proxyservice/src/test/resources/config/eIDAS/specificCommunicationDefinitionProxyservice.xml b/ms_specific_proxyservice/src/test/resources/config/eIDAS/specificCommunicationDefinitionProxyservice.xml
new file mode 100644
index 00000000..c8caf16b
--- /dev/null
+++ b/ms_specific_proxyservice/src/test/resources/config/eIDAS/specificCommunicationDefinitionProxyservice.xml
@@ -0,0 +1,37 @@
+
+
+
+
+
+ true
+
+
+ specificCommunicationDefinitionProxyserviceRequest
+ specificProxyService
+
+ mySecretProxyserviceRequest
+ SHA-256
+
+
+ specificCommunicationDefinitionProxyserviceResponse
+ specificProxyService
+
+ mySecretProxyserviceResponse
+ SHA-256
+
+
+ 65535
+
--
cgit v1.2.3