aboutsummaryrefslogtreecommitdiff
path: root/id/moa-id-webgui/src/main
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-07-20 16:46:23 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-07-20 16:46:23 +0200
commit9c612cb3f59c190fd84db9cf0dff19309859fbf9 (patch)
treeab06770800977bef9b093b1a27c71c819f840152 /id/moa-id-webgui/src/main
parent7b6f65663145b228991794d6390567fbb84dc9c0 (diff)
downloadmoa-id-spss-9c612cb3f59c190fd84db9cf0dff19309859fbf9.tar.gz
moa-id-spss-9c612cb3f59c190fd84db9cf0dff19309859fbf9.tar.bz2
moa-id-spss-9c612cb3f59c190fd84db9cf0dff19309859fbf9.zip
change configuration key for ovs mandates
Diffstat (limited to 'id/moa-id-webgui/src/main')
-rw-r--r--id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/ServicesAuthenticationInformationTask.java6
-rw-r--r--id/moa-id-webgui/src/main/resources/gui/types/oa.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/ServicesAuthenticationInformationTask.java b/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/ServicesAuthenticationInformationTask.java
index c39e857e4..d061ce29b 100644
--- a/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/ServicesAuthenticationInformationTask.java
+++ b/id/moa-id-webgui/src/main/java/at/gv/egovernment/moa/id/config/webgui/validation/task/impl/ServicesAuthenticationInformationTask.java
@@ -181,13 +181,13 @@ public class ServicesAuthenticationInformationTask extends AbstractTaskValidator
}
//check Mandate Profiles
- String checkUseMandate = input.get(MOAIDConfigurationConstants.SERVICE_AUTH_MANDATES_USE);
+ String checkUseMandate = input.get(MOAIDConfigurationConstants.SERVICE_AUTH_MANDATES_OVS_USE);
if (MiscUtil.isNotEmpty(checkUseMandate) && Boolean.parseBoolean(checkUseMandate)) {
- check = input.get(MOAIDConfigurationConstants.SERVICE_AUTH_MANDATES_PROFILES);
+ check = input.get(MOAIDConfigurationConstants.SERVICE_AUTH_MANDATES_OVS_PROFILES);
if (ValidationHelper.containsPotentialCSSCharacter(check, true)) {
log.warn("MandateProfiles contains potentail XSS characters: " + check);
errors.add(new ValidationObjectIdentifier(
- MOAIDConfigurationConstants.SERVICE_AUTH_MANDATES_PROFILES,
+ MOAIDConfigurationConstants.SERVICE_AUTH_MANDATES_OVS_PROFILES,
"Mandates - Profiles",
LanguageHelper.getErrorString("validation.general.mandate.profiles",
new Object[] {ValidationHelper.getPotentialCSSCharacter(true)}) ));
diff --git a/id/moa-id-webgui/src/main/resources/gui/types/oa.json b/id/moa-id-webgui/src/main/resources/gui/types/oa.json
index aafc63b2e..282ffb090 100644
--- a/id/moa-id-webgui/src/main/resources/gui/types/oa.json
+++ b/id/moa-id-webgui/src/main/resources/gui/types/oa.json
@@ -400,7 +400,7 @@
}
}
},
- "mandates": {
+ "mandates.ovs": {
"id": "http://www.egiz.gv.at/dynUI/OA/auth/mandates",
"type": "object",
"title": "Mandates",