aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-modul-citizencard_authentication
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-10-21 10:28:22 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-11-03 10:50:38 +0100
commit097dbd04ab511fec2e6c31ec69c6723af1164334 (patch)
tree71e5358826da3e17cd359ce94899a35d8e4dccfe /id/server/modules/moa-id-modul-citizencard_authentication
parent0b513625b19ba63e5c23b60fbb505cd4a7c232ab (diff)
downloadmoa-id-spss-097dbd04ab511fec2e6c31ec69c6723af1164334.tar.gz
moa-id-spss-097dbd04ab511fec2e6c31ec69c6723af1164334.tar.bz2
moa-id-spss-097dbd04ab511fec2e6c31ec69c6723af1164334.zip
add functionality to support more than one ELGA mandate-service
Conflicts: id/server/modules/moa-id-module-elga_mandate_service/src/main/java/at/gv/egovernment/moa/id/auth/modules/elgamandates/utils/ELGAMandateServiceMetadataProvider.java
Diffstat (limited to 'id/server/modules/moa-id-modul-citizencard_authentication')
-rw-r--r--id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetForeignIDTask.java2
-rw-r--r--id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetMISSessionIDTask.java2
-rw-r--r--id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/PrepareGetMISMandateTask.java3
3 files changed, 4 insertions, 3 deletions
diff --git a/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetForeignIDTask.java b/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetForeignIDTask.java
index 7cc9df30c..4a28658ff 100644
--- a/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetForeignIDTask.java
+++ b/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetForeignIDTask.java
@@ -127,7 +127,7 @@ public class GetForeignIDTask extends AbstractAuthServletTask {
pendingReq, MOAIDEventConstants.AUTHPROCESS_FOREIGN_SZRGW_CONNECTED);
// make SZR request to the identity link
- CreateIdentityLinkResponse response = SZRGWClientUtils.getIdentityLink(signature);
+ CreateIdentityLinkResponse response = SZRGWClientUtils.getIdentityLink(pendingReq, signature);
if (null != response.getErrorResponse()) {
// TODO fix exception parameter
diff --git a/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetMISSessionIDTask.java b/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetMISSessionIDTask.java
index c172c3b9c..3f63c207e 100644
--- a/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetMISSessionIDTask.java
+++ b/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/GetMISSessionIDTask.java
@@ -73,7 +73,7 @@ public class GetMISSessionIDTask extends AbstractAuthServletTask {
//get mandates from MIS
ConnectionParameterInterface connectionParameters = authConfig
- .getOnlineMandatesConnectionParameter();
+ .getOnlineMandatesConnectionParameter(pendingReq.getOnlineApplicationConfiguration());
SSLSocketFactory sslFactory = SSLUtils.getSSLSocketFactory(
authConfig,
connectionParameters);
diff --git a/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/PrepareGetMISMandateTask.java b/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/PrepareGetMISMandateTask.java
index afbb87f10..88560eacf 100644
--- a/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/PrepareGetMISMandateTask.java
+++ b/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/modules/internal/tasks/PrepareGetMISMandateTask.java
@@ -72,7 +72,8 @@ public class PrepareGetMISMandateTask extends AbstractAuthServletTask {
//perform default task initialization
defaultTaskInitialization(request, executionContext);
- ConnectionParameterInterface connectionParameters = authConfig.getOnlineMandatesConnectionParameter();
+ ConnectionParameterInterface connectionParameters =
+ authConfig.getOnlineMandatesConnectionParameter(pendingReq.getOnlineApplicationConfiguration());
SSLSocketFactory sslFactory = SSLUtils.getSSLSocketFactory(authConfig, connectionParameters);
// get identitity link as byte[]