aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-07-23 13:39:58 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-07-23 13:39:58 +0000
commit84772ef91127cf3249391edea8107804d05ca461 (patch)
treed47952254859383181a8573d1acfadfe0db0a2a1 /src
parent09eb73d75ec46cbe270971d45d403b8fb9922c1c (diff)
downloadpdf-as-3-84772ef91127cf3249391edea8107804d05ca461.tar.gz
pdf-as-3-84772ef91127cf3249391edea8107804d05ca461.tar.bz2
pdf-as-3-84772ef91127cf3249391edea8107804d05ca461.zip
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@138 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/web/LocalRequestHelper.java9
1 files changed, 9 insertions, 0 deletions
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 e8443d7..287bc8e 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
@@ -25,6 +25,9 @@ import java.util.Properties;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
import at.knowcenter.wag.egov.egiz.exceptions.ConnectorFactoryException;
import at.knowcenter.wag.egov.egiz.exceptions.NormalizeException;
import at.knowcenter.wag.egov.egiz.exceptions.PresentableException;
@@ -60,6 +63,10 @@ public abstract class LocalRequestHelper
* The resource of the redirect refresh page jsp.
*/
public static final String REDIRECT_REFRESH_PAGE_JSP = "/jsp/redirect_refresh_page.jsp";
+
+
+ private static Log log = LogFactory.getLog(LocalRequestHelper.class);
+
/**
* Sets up the local sign procedure.
@@ -79,6 +86,7 @@ public abstract class LocalRequestHelper
String loc_ref_url = response.encodeURL(loc_ref_URL.toString());
LocalConnector c = ConnectorChooser.chooseLocalConnectorForSign(si.connector, si.type, loc_ref_url);
+
String sign_request = c.prepareSignRequest(si.iui.signature_data);
// TODO local URL
@@ -191,6 +199,7 @@ public abstract class LocalRequestHelper
SignSignatureObject so = SignatureObjectHelper.convertSignatureObjectToSignSignatureObject(s);
LocalConnector local_conn = ConnectorChooser.chooseLocalConnectorForVerify(si.connector, s.getKZ(), so.id, si.type, loc_ref_url);
+
String request_string = local_conn.prepareVerifyRequest(sd, so);
LocalRequest local_request = new LocalRequest("not-needed", request_string);