aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <>2022-03-31 14:41:01 +0200
committerThomas <>2022-03-31 14:41:01 +0200
commit3edb042d0e1cb09aadf5400373f16e6a527c75ab (patch)
tree26191e3327eec43907194777d5ab9fa7facaf496
parenta35373663d66666d6af5bbe819c7e6bab6cf9989 (diff)
parent9c732c794b99e1bd64efd584f5becaae76025de0 (diff)
downloadNational_eIDAS_Gateway-3edb042d0e1cb09aadf5400373f16e6a527c75ab.tar.gz
National_eIDAS_Gateway-3edb042d0e1cb09aadf5400373f16e6a527c75ab.tar.bz2
National_eIDAS_Gateway-3edb042d0e1cb09aadf5400373f16e6a527c75ab.zip
Merge branch 'nightlybuild' into feature/ms_proxy_before_refactoring
# Conflicts: # modules/core_common_webapp/src/main/java/at/asitplus/eidas/specific/core/controller/DataBinderControllerAdvice.java
-rw-r--r--connector/src/main/java/at/asitplus/eidas/specific/connector/config/PvpEndPointConfiguration.java8
-rw-r--r--modules/core_common_webapp/src/main/java/at/asitplus/eidas/specific/core/controller/DataBinderControllerAdvice.java2
2 files changed, 5 insertions, 5 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));
diff --git a/modules/core_common_webapp/src/main/java/at/asitplus/eidas/specific/core/controller/DataBinderControllerAdvice.java b/modules/core_common_webapp/src/main/java/at/asitplus/eidas/specific/core/controller/DataBinderControllerAdvice.java
index 0d983c16..e69826d0 100644
--- a/modules/core_common_webapp/src/main/java/at/asitplus/eidas/specific/core/controller/DataBinderControllerAdvice.java
+++ b/modules/core_common_webapp/src/main/java/at/asitplus/eidas/specific/core/controller/DataBinderControllerAdvice.java
@@ -27,7 +27,7 @@ public class DataBinderControllerAdvice {
// By applying this mitigation, you prevent the "Class Loader Manipulation attack vector from firing.
// For more details, see this post: https://www.lunasec.io/docs/blog/spring-rce-vulnerabilities/
dataBinder.setDisallowedFields(DENYLIST);
- log.info("Set denyList for Spring DataBinder: {}", StringUtils.join(DENYLIST, ","));
+ log.trace("Set denyList for Spring DataBinder: {}", StringUtils.join(DENYLIST, ","));
}
}