aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-11-12 17:53:21 +0100
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-11-12 17:53:21 +0100
commit08301ba3e8a29a8718f426340f4bced616f2765a (patch)
tree9a4bd8eeb70c3c531d832a9aebfc34df28da76bf /id/server/idserverlib/src
parent5b78f619548a47bed61b813e1610b6954a74e969 (diff)
downloadmoa-id-spss-08301ba3e8a29a8718f426340f4bced616f2765a.tar.gz
moa-id-spss-08301ba3e8a29a8718f426340f4bced616f2765a.tar.bz2
moa-id-spss-08301ba3e8a29a8718f426340f4bced616f2765a.zip
removing representative
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java
index 74af70bda..1b7982d87 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/MandateRetrievalRequest.java
@@ -78,7 +78,7 @@ public class MandateRetrievalRequest implements IAction {
this.QAALevel = translateQAALevel(authData.getQAALevel());
// preparing original content and removing sensitive data from it
- this.originalContent = authData.getMISMandate().getMandate();
+ this.originalContent = authData.getMISMandate().getMandate(); // TODO ERROR
//Logger.debug("Original content " + StringUtils.newStringUtf8(authData.getMISMandate().getMandate()));
String originalMandate = StringUtils.newStringUtf8(authData.getMISMandate().getMandate()).replaceAll("<pd:Value>.*?==</pd:Value><pd:Type>urn:publicid:gv.at:baseid</pd:Type>","<pd:Value></pd:Value><pd:Type></pd:Type>");;
Logger.debug("Removing personal identification value and type from original mandate ");
@@ -288,8 +288,7 @@ public class MandateRetrievalRequest implements IAction {
RepresentationPersonType representative = getRepresentative(mandateContainer, sourceAttribute);
RepresentationPersonType represented = getRepresented(mandateContainer, sourceAttribute);
MandateContentType mandateContent = getMandateContent(mandateContainer, sourceAttribute);
-
- mandateType.setRepresenting(representative);
+ mandateType.setRepresentative(representative);
mandateType.setRepresented(represented);
mandateType.getMandateContent().add(mandateContent);
Logger.debug("Complex attribute extracted: " + sourceAttribute.getName());