From 2364aa253e1ea8e6d578450674028c6724cfbabc Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Thu, 20 Mar 2014 15:27:15 +0100 Subject: fixed nullpointerex in SignedDocAPPlugin --- .../moa/id/protocols/stork2/SignedDocAttributeRequestProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'id/server/idserverlib') 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 -- cgit v1.2.3