aboutsummaryrefslogtreecommitdiff
path: root/connector
diff options
context:
space:
mode:
authorThomas <>2022-03-31 14:38:17 +0200
committerThomas <>2022-03-31 14:38:17 +0200
commit9c732c794b99e1bd64efd584f5becaae76025de0 (patch)
treee17e9a043412652e091f2865447daea3f6e5acc6 /connector
parentdeb287570c9248b9cf39af981a976c335f434b84 (diff)
downloadNational_eIDAS_Gateway-9c732c794b99e1bd64efd584f5becaae76025de0.tar.gz
National_eIDAS_Gateway-9c732c794b99e1bd64efd584f5becaae76025de0.tar.bz2
National_eIDAS_Gateway-9c732c794b99e1bd64efd584f5becaae76025de0.zip
refactor(core): remove deprecated operations on openSAML4 API
Diffstat (limited to 'connector')
-rw-r--r--connector/src/main/java/at/asitplus/eidas/specific/connector/config/PvpEndPointConfiguration.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/connector/src/main/java/at/asitplus/eidas/specific/connector/config/PvpEndPointConfiguration.java b/connector/src/main/java/at/asitplus/eidas/specific/connector/config/PvpEndPointConfiguration.java
index c62cbeef..81c37bd0 100644
--- a/connector/src/main/java/at/asitplus/eidas/specific/connector/config/PvpEndPointConfiguration.java
+++ b/connector/src/main/java/at/asitplus/eidas/specific/connector/config/PvpEndPointConfiguration.java
@@ -89,11 +89,11 @@ public class PvpEndPointConfiguration implements IPvp2BasicConfiguration {
final SurName surname = Saml2Utils.createSamlObject(SurName.class);
final EmailAddress emailAddress = Saml2Utils.createSamlObject(EmailAddress.class);
- givenName.setName(getAndVerifyFromConfiguration(
+ givenName.setValue(getAndVerifyFromConfiguration(
MsEidasNodeConstants.CONFIG_PROPS_METADATA_CONTACT_GIVENNAME));
- surname.setName(getAndVerifyFromConfiguration(
+ surname.setValue(getAndVerifyFromConfiguration(
MsEidasNodeConstants.CONFIG_PROPS_METADATA_CONTACT_SURNAME));
- emailAddress.setAddress(getAndVerifyFromConfiguration(
+ emailAddress.setURI(getAndVerifyFromConfiguration(
MsEidasNodeConstants.CONFIG_PROPS_METADATA_CONTACT_EMAIL));
contactPerson.setType(ContactPersonTypeEnumeration.TECHNICAL);
@@ -121,7 +121,7 @@ public class PvpEndPointConfiguration implements IPvp2BasicConfiguration {
MsEidasNodeConstants.CONFIG_PROPS_METADATA_ORGANISATION_FRIENDLYNAME));
orgUrl.setXMLLang(DEFAULT_XML_LANG);
- orgUrl.setValue(getAndVerifyFromConfiguration(
+ orgUrl.setURI(getAndVerifyFromConfiguration(
MsEidasNodeConstants.CONFIG_PROPS_METADATA_ORGANISATION_URL));