summaryrefslogtreecommitdiff
path: root/eaaf_core/src
diff options
context:
space:
mode:
Diffstat (limited to 'eaaf_core/src')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java5
-rw-r--r--eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/module/test/TestRequestImpl.java7
2 files changed, 11 insertions, 1 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java
index a4f60ddc..27b032e3 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/protocols/RequestImpl.java
@@ -583,6 +583,11 @@ public abstract class RequestImpl implements IRequest, Serializable {
}
+ public final void removeRawDataFromTransaction(String key) {
+ genericDataStorage.remove(key);
+
+ }
+
private String objectSaveJsonSerialization(Object object) throws EaafStorageException {
try {
return DefaultJsonMapper.serialize(RawDataHolder.builder()
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 b3f733d1..cc620dc8 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
@@ -297,6 +297,12 @@ public class TestRequestImpl implements IRequest {
}
@Override
+ public void removeRawDataFromTransaction(String key) {
+ storage.remove(key);
+
+ }
+
+ @Override
public void setRawDataToTransaction(final Map<String, Object> map) throws EaafStorageException {
storage.putAll(map);
@@ -399,5 +405,4 @@ public class TestRequestImpl implements IRequest {
this.currentlyInIframe = flag;
}
-
}