aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-07-23 13:14:02 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-07-23 13:14:02 +0200
commit3d2540b942389be2f2e3f2496f1c2380ee49c4ca (patch)
treeb8bc91117853ae0d3f4bdb3f7c55e3d01bde441d /id
parent2e67bfacc4c1827bcdc37eac04a2a8d870ee20cd (diff)
downloadmoa-id-spss-3d2540b942389be2f2e3f2496f1c2380ee49c4ca.tar.gz
moa-id-spss-3d2540b942389be2f2e3f2496f1c2380ee49c4ca.tar.bz2
moa-id-spss-3d2540b942389be2f2e3f2496f1c2380ee49c4ca.zip
add requestID to SZR-Gateway request
Diffstat (limited to 'id')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java
index 91a91642d..63bdab919 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java
@@ -15,6 +15,7 @@ import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;
+import java.util.UUID;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;
@@ -1499,11 +1500,12 @@ public class AuthenticationServer extends MOAIDAuthConstants {
AuthConfiguration authConf = AuthConfigurationProviderFactory.getInstance();
ConnectionParameter connectionParameters = authConf.getForeignIDConnectionParameter();
+ String requestID = UUID.randomUUID().toString();
SZRGWClient client = new SZRGWClient(connectionParameters);
CreateIdentityLinkRequest request = new CreateIdentityLinkRequest();
request.setSignature(citizenSignature.getBytes("UTF-8"));
-
+ request.setReqID(requestID);
if(PEPSDateOfBirth!=null || PEPSFamilyname!=null || PEPSFirstname!=null || PEPSIdentifier!=null || representative!=null || represented!=null || mandateContent!=null || organizationAddress!=null || organizationType!=null)
{
PEPSData data = new PEPSData();