From e01e6bdf5d751c251563023cdaf9718ef57eff6c Mon Sep 17 00:00:00 2001 From: gregor Date: Fri, 22 Apr 2005 09:22:20 +0000 Subject: Bug 247 korrigiert. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@315 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../moa/spss/server/invoke/XMLSignatureVerificationInvoker.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.java index b8af3c02a..185a8c511 100644 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.java +++ b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.java @@ -152,7 +152,7 @@ public class XMLSignatureVerificationInvoker { supplements); xmlSignature = buildXMLSignature(signatureEnvironment, request); - // build the list of DataObjects + // build the list of DataObjects dataObjectList = buildDataObjectList(supplements); // build profile @@ -301,8 +301,8 @@ public class XMLSignatureVerificationInvoker { ConfigurationProvider config = context.getConfiguration(); List supplementProfiles = request.getSupplementProfiles(); + List supplements = new ArrayList(); if (supplementProfiles != null) { - List supplements = new ArrayList(); List mappedProfiles = ProfileMapper.mapSupplementProfiles(supplementProfiles, config); Iterator iter; @@ -312,11 +312,9 @@ public class XMLSignatureVerificationInvoker { (SupplementProfileExplicit) iter.next(); supplements.add(profile.getSupplementProfile()); } - - return supplements; } - return null; + return supplements; } /** -- cgit v1.2.3