aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-03-20 15:27:15 +0100
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-03-20 15:28:15 +0100
commit2364aa253e1ea8e6d578450674028c6724cfbabc (patch)
treebb65da81c89430bfcd620dd66e0d0c8f28b1e24f
parenta112ca8f0c8cd4a0620c55e430004b28b9fe1dfb (diff)
downloadmoa-id-spss-2364aa253e1ea8e6d578450674028c6724cfbabc.tar.gz
moa-id-spss-2364aa253e1ea8e6d578450674028c6724cfbabc.tar.bz2
moa-id-spss-2364aa253e1ea8e6d578450674028c6724cfbabc.zip
fixed nullpointerex in SignedDocAPPlugin
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/SignedDocAttributeRequestProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/SignedDocAttributeRequestProvider.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/SignedDocAttributeRequestProvider.java
index f629db5a4..43f6a5984 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/SignedDocAttributeRequestProvider.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/SignedDocAttributeRequestProvider.java
@@ -84,7 +84,7 @@ public class SignedDocAttributeRequestProvider implements AttributeProvider {
values.add(signResponse);
Logger.debug("Assembling signedDoc attribute");
- PersonalAttribute signedDocAttribute = new PersonalAttribute(requestedAttribute.getName(), requestedAttribute.isRequired(), values,
+ PersonalAttribute signedDocAttribute = new PersonalAttribute("signedDoc", false, values,
"Available");
// pack and return the result