From e517ea48f034566c0da28c76fcf9d8b33988b69e Mon Sep 17 00:00:00 2001 From: pdanner Date: Fri, 19 Oct 2007 11:55:03 +0000 Subject: Changed party representation process from form based path to security layer path git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1027 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../egovernment/moa/id/auth/servlet/ProcessValidatorInputServlet.java | 2 +- .../moa/id/auth/validator/parep/ParepInputProcessorImpl.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'id/server/idserverlib/src/main/java') diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/ProcessValidatorInputServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/ProcessValidatorInputServlet.java index c41e39466..89834307d 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/ProcessValidatorInputServlet.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/ProcessValidatorInputServlet.java @@ -69,7 +69,7 @@ public class ProcessValidatorInputServlet extends AuthServlet { InfoboxValidator infoboxvalidator = session.getFirstPendingValidator(); String outputStream; String dataURL = new DataURLBuilder().buildDataURL( - session.getAuthURL(), AuthenticationServer.REQ_VERIFY_AUTH_BLOCK, sessionID); + session.getAuthURL(), AuthenticationServer.REQ_PROCESS_VALIDATOR_INPUT, sessionID); if (infoboxvalidator!=null) { outputStream = infoboxvalidator.getForm(); // replace strings the validators can not know diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/parep/ParepInputProcessorImpl.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/parep/ParepInputProcessorImpl.java index bfbbaede6..1501dad57 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/parep/ParepInputProcessorImpl.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/parep/ParepInputProcessorImpl.java @@ -235,6 +235,7 @@ public class ParepInputProcessorImpl implements ParepInputProcessor{ instream = new FileInputStream(fileName); } else { fileName = parepConfiguration.getFullDirectoryName(fileName); + if (fileName.startsWith("file:\\")) fileName = fileName.substring(6); file = new File(fileName); if (file.exists()) { //if this resolves to a file, load it -- cgit v1.2.3