aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java
diff options
context:
space:
mode:
authorkstranacher <kstranacher@d688527b-c9ab-4aba-bd8d-4036d912da1d>2011-11-16 09:05:26 +0000
committerkstranacher <kstranacher@d688527b-c9ab-4aba-bd8d-4036d912da1d>2011-11-16 09:05:26 +0000
commit951546efbf6484c21734656b247c980da4fcda94 (patch)
treed429601ff965f3d3fc733f41e8cb8efa3e928168 /id/server/idserverlib/src/main/java
parent345a80135fff432f020053192b0aacae11ec4494 (diff)
downloadmoa-id-spss-951546efbf6484c21734656b247c980da4fcda94.tar.gz
moa-id-spss-951546efbf6484c21734656b247c980da4fcda94.tar.bz2
moa-id-spss-951546efbf6484c21734656b247c980da4fcda94.zip
http://127.0.0.1:3495/http-security-layer-request and https://127.0.0.1:3496/https-security-layer-request added to TrustedBKUs.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1231 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id/server/idserverlib/src/main/java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/ParamValidatorUtils.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/ParamValidatorUtils.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/ParamValidatorUtils.java
index e4c1d4742..8c3bccab3 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/ParamValidatorUtils.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/util/ParamValidatorUtils.java
@@ -114,7 +114,8 @@ public class ParamValidatorUtils {
* @return
*/
public static boolean isValidBKUURI(String bkuURI) {
- Logger.debug("Überprüfe Parameter bkuURI");
+ Logger.debug("Überprüfe Parameter bkuURI");
+
// if non parameter is given return true
if (bkuURI == null) {
Logger.debug("Parameter bkuURI ist null");
@@ -129,7 +130,9 @@ public class ParamValidatorUtils {
// check if bkuURI is a local BKU
if (bkuURI.compareToIgnoreCase("https://localhost:3496/https-security-layer-request") == 0 ||
- bkuURI.compareToIgnoreCase("http://localhost:3495/http-security-layer-request") == 0) {
+ bkuURI.compareToIgnoreCase("http://localhost:3495/http-security-layer-request") == 0 ||
+ bkuURI.compareToIgnoreCase("http://127.0.0.1:3495/http-security-layer-request") == 0 ||
+ bkuURI.compareToIgnoreCase("https://127.0.0.1:3496/https-security-layer-request") == 0) {
Logger.debug("Parameter bkuURI erfolgreich überprüft");
return true;
}