aboutsummaryrefslogtreecommitdiff
path: root/id/moa-id-webgui/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-01-18 16:30:24 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-01-18 16:30:24 +0100
commit3c0bc144d33712d2392e37a553b7192ef4572735 (patch)
tree8f26ea69daad673bbf0919708379b35ae2fe8bb6 /id/moa-id-webgui/src/main/java/at/gv/egovernment
parent2c6df2af8c5751d1ba68df589f4c0d228c401742 (diff)
downloadmoa-id-spss-3c0bc144d33712d2392e37a553b7192ef4572735.tar.gz
moa-id-spss-3c0bc144d33712d2392e37a553b7192ef4572735.tar.bz2
moa-id-spss-3c0bc144d33712d2392e37a553b7192ef4572735.zip
add virtual IDP configuration functionality to moa-id-configuration webGUI
Diffstat (limited to 'id/moa-id-webgui/src/main/java/at/gv/egovernment')
-rw-r--r--id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralMOAIDConfigurationTask.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralMOAIDConfigurationTask.java b/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralMOAIDConfigurationTask.java
index 616d9f0f4..891295777 100644
--- a/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralMOAIDConfigurationTask.java
+++ b/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/GeneralMOAIDConfigurationTask.java
@@ -117,7 +117,7 @@ public class GeneralMOAIDConfigurationTask extends AbstractTaskValidator impleme
if (MiscUtil.isNotEmpty(check)) {
String[] preFixList = check.split(",");
for (String el : preFixList) {
- if (!ValidationHelper.validateURL(el)) {
+ if (!ValidationHelper.validateURL(el.trim())) {
log.info("Public URL Prefix is not valid");
errors.add(new ValidationObjectIdentifier(
MOAIDConfigurationConstants.GENERAL_PUBLICURLPREFIX,
@@ -516,7 +516,7 @@ public class GeneralMOAIDConfigurationTask extends AbstractTaskValidator impleme
String pubURLPrefix = input.get(KeyValueUtils.removePrefixFromKey(MOAIDConfigurationConstants.GENERAL_PUBLICURLPREFIX, getKeyPrefix()));
String normalizedPubURLPrefix = KeyValueUtils.normalizeCSVValueString(pubURLPrefix);
- String[] normalizedPubURLPrefixList = normalizedPubURLPrefix.split(",");
+ String[] normalizedPubURLPrefixList = normalizedPubURLPrefix.split(KeyValueUtils.CSV_DELIMITER);
String modifiedPubURLPrefixCSV = null;
for (String el : normalizedPubURLPrefixList) {
@@ -529,7 +529,7 @@ public class GeneralMOAIDConfigurationTask extends AbstractTaskValidator impleme
if (modifiedPubURLPrefixCSV == null)
modifiedPubURLPrefixCSV = newPubURLPrefix;
else
- modifiedPubURLPrefixCSV += "," + newPubURLPrefix;
+ modifiedPubURLPrefixCSV += KeyValueUtils.CSV_DELIMITER + newPubURLPrefix;
}