From e068943d97cd50be536babe3a54268fe47f8d8e4 Mon Sep 17 00:00:00 2001 From: knowcenter Date: Thu, 26 Jul 2007 09:50:22 +0000 Subject: Problems with verifying MOA 1.0.0 signatures with BKU solved git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@157 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java | 4 ---- .../java/at/knowcenter/wag/egov/egiz/web/LocalRequestHelper.java | 5 ----- 2 files changed, 9 deletions(-) (limited to 'src/main/java/at/knowcenter/wag') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java index dc5d35b..4983da7 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java @@ -300,10 +300,6 @@ public class EnvelopedBase64BKUConnector implements Connector, LocalConnector String xml_content = null; if (SigKZIDHelper.isMOASigned(so)) { - // - if(so.id.equals("") || so.id == null) - so.id = "temp"; - // log.debug("The signature is MOA signed -> getting XML content from Base64MOA connector."); EnvelopingBase64MOAConnector moa_conn = new EnvelopingBase64MOAConnector(this.environment.getProfile()); xml_content = moa_conn.prepareXMLContent(data, so); diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequestHelper.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequestHelper.java index 82aad9a..b664bc6 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequestHelper.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequestHelper.java @@ -102,11 +102,6 @@ public abstract class LocalRequestHelper request.setAttribute("local_request_url", local_request_url); request.setAttribute("data_url", data_url); - URL local_server = new URL(request.getScheme(), host, request.getServerPort(),null); - String loc_server = response.encodeURL(local_server.toString()); - - request.setAttribute("loc_server", loc_server); - return NULL_REQUEST_PAGE_JSP; -- cgit v1.2.3