summaryrefslogtreecommitdiff
path: root/eaaf_core/src/test/java/at/gv
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-02-27 11:01:17 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-02-27 11:01:17 +0100
commitc02bd7c0a8b47fefa09e1eb73291f5ea14082a3a (patch)
tree6aeefe24265465f18ada524a0040e45bf589dc3d /eaaf_core/src/test/java/at/gv
parentb8ad797b8940d880cfdae823093d90858375398a (diff)
downloadEAAF-Components-c02bd7c0a8b47fefa09e1eb73291f5ea14082a3a.tar.gz
EAAF-Components-c02bd7c0a8b47fefa09e1eb73291f5ea14082a3a.tar.bz2
EAAF-Components-c02bd7c0a8b47fefa09e1eb73291f5ea14082a3a.zip
add new transactionId for PII related data only
Diffstat (limited to 'eaaf_core/src/test/java/at/gv')
-rw-r--r--eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/TestRequestImpl.java16
1 files changed, 13 insertions, 3 deletions
diff --git a/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/TestRequestImpl.java b/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/TestRequestImpl.java
index 656e8d29..8f8f8114 100644
--- a/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/TestRequestImpl.java
+++ b/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/TestRequestImpl.java
@@ -24,13 +24,13 @@ import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.Map;
-import org.apache.commons.lang3.StringUtils;
-
import at.gv.egiz.eaaf.core.api.IRequest;
import at.gv.egiz.eaaf.core.api.idp.ISpConfiguration;
import at.gv.egiz.eaaf.core.exceptions.EaafStorageException;
import at.gv.egiz.eaaf.core.impl.idp.auth.data.AuthProcessDataWrapper;
+import org.apache.commons.lang3.StringUtils;
+
/**
* Test pending-request for jUnit tests.
*
@@ -49,6 +49,7 @@ public class TestRequestImpl implements IRequest {
private boolean authenticated;
private boolean needAuthentication = false;
private boolean stoppedByUser;
+ private String piiTransactionId;
/*
* (non-Javadoc)
@@ -139,6 +140,11 @@ public class TestRequestImpl implements IRequest {
return null;
}
+ @Override
+ public String getUniquePiiTransactionIdentifier() {
+ return this.piiTransactionId;
+ }
+
/*
* (non-Javadoc)
*
@@ -247,7 +253,7 @@ public class TestRequestImpl implements IRequest {
@Override
public boolean isAbortedByUser() {
return this.stoppedByUser;
-
+
}
/*
@@ -370,6 +376,10 @@ public class TestRequestImpl implements IRequest {
this.pendingReqId = pendingReqId;
}
+ public void setPiiTransactionId(String piiTransactionId) {
+ this.piiTransactionId = piiTransactionId;
+ }
+
public void setAuthUrl(final String authUrl) {
this.authUrl = authUrl;
}