diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2015-07-22 09:59:33 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2015-07-22 09:59:33 +0200 |
commit | 7822346ccba084677534b4226080ef41de7b9865 (patch) | |
tree | cd615c26a65dedcae15b78edb30d8251f9ef0558 /id/server/moa-id-commons/src | |
parent | 6296d40caa4fa071be939450373e9ce83b65b409 (diff) | |
download | moa-id-spss-7822346ccba084677534b4226080ef41de7b9865.tar.gz moa-id-spss-7822346ccba084677534b4226080ef41de7b9865.tar.bz2 moa-id-spss-7822346ccba084677534b4226080ef41de7b9865.zip |
fix problem with SAML1 in legacy mode and targetFriendlyName
Diffstat (limited to 'id/server/moa-id-commons/src')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/TargetValidator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/TargetValidator.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/TargetValidator.java index 2ad50568a..f2f7afcf8 100644 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/TargetValidator.java +++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/TargetValidator.java @@ -88,7 +88,7 @@ public class TargetValidator { } public static String getTargetFriendlyName(String target) { - String name = targetList.get(target); + String name = targetList.get(target.toUpperCase()); if (MiscUtil.isNotEmpty(name)) return name; @@ -97,7 +97,7 @@ public class TargetValidator { } public static boolean isValidTarget(String target) { - return targetList.containsKey(target); + return targetList.containsKey(target.toUpperCase()); } |