aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-07-26 09:50:22 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-07-26 09:50:22 +0000
commite068943d97cd50be536babe3a54268fe47f8d8e4 (patch)
treef1811ef2ba11df0df4fe49491c86954aaa41eaad
parent9a9499443ba433d143f0dc76a2688f73a575aaee (diff)
downloadpdf-as-3-e068943d97cd50be536babe3a54268fe47f8d8e4.tar.gz
pdf-as-3-e068943d97cd50be536babe3a54268fe47f8d8e4.tar.bz2
pdf-as-3-e068943d97cd50be536babe3a54268fe47f8d8e4.zip
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
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/EnvelopedBase64BKUConnector.java4
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequestHelper.java5
2 files changed, 0 insertions, 9 deletions
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;