From 951546efbf6484c21734656b247c980da4fcda94 Mon Sep 17 00:00:00 2001 From: kstranacher Date: Wed, 16 Nov 2011 09:05:26 +0000 Subject: 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 --- .../java/at/gv/egovernment/moa/id/util/ParamValidatorUtils.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'id/server/idserverlib/src/main') 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; } -- cgit v1.2.3