You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2022/06/13 06:06:42 UTC
[syncope] 03/05: [SYNCOPE-1545] Fix generic config parameter values handling
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
commit 60c29b0c94faad1823cba465c27c939215ab15d4
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Jun 10 11:05:18 2022 +0200
[SYNCOPE-1545] Fix generic config parameter values handling
---
.../apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java
index 059af19a50..c76e29ff28 100644
--- a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java
+++ b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java
@@ -500,8 +500,8 @@ public class SyncopeWAPropertySourceLocator implements PropertySourceLocator {
}
});
- syncopeClient.getService(WAConfigService.class).list().
- forEach(attr -> properties.put(attr.getSchema(), attr.getValues()));
+ syncopeClient.getService(WAConfigService.class).list().forEach(attr -> properties.put(
+ attr.getSchema(), attr.getValues().stream().collect(Collectors.joining(","))));
LOG.debug("Collected WA properties: {}", properties);
return new MapPropertySource(getClass().getName(), properties);
}