aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-02-04 13:11:50 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-02-04 13:11:50 +0100
commit76287102b660413b778fc87fc0103b3a023747ee (patch)
treebb91787b6720873c3af97b5872b1d3c281fd33e6 /id/ConfigWebTool/src/main/java/at/gv/egovernment
parent04636e11d108f26df4712c62be108d68ba166e0a (diff)
downloadmoa-id-spss-76287102b660413b778fc87fc0103b3a023747ee.tar.gz
moa-id-spss-76287102b660413b778fc87fc0103b3a023747ee.tar.bz2
moa-id-spss-76287102b660413b778fc87fc0103b3a023747ee.zip
* update OAConfig validator
* move old documentation to a new directory * add PreRelease docu * add moa-id-proxy sample-config
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at/gv/egovernment')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OAGeneralConfigValidation.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OAGeneralConfigValidation.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OAGeneralConfigValidation.java
index 9c950fb66..c84c44de4 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OAGeneralConfigValidation.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OAGeneralConfigValidation.java
@@ -100,9 +100,12 @@ public class OAGeneralConfigValidation {
if (MiscUtil.isNotEmpty(check)) {
if (ValidationHelper.containsPotentialCSSCharacter(check, false)) {
log.warn("OAFriendlyName contains potentail XSS characters: " + check);
- errors.add(LanguageHelper.getErrorString("validation.general.oafriendlyname",
+ errors.add(LanguageHelper.getErrorString("validation.general.oafriendlyname.valid",
new Object[] {ValidationHelper.getPotentialCSSCharacter(false)} ));
}
+ } else {
+ log.info("OA friendlyName is empty");
+ errors.add(LanguageHelper.getErrorString("validation.general.oafriendlyname.empty"));
}
if (isAdmin) {