From 5af1583895ddf277d6c68100c14950da71d1c3b8 Mon Sep 17 00:00:00 2001 From: tkellner Date: Fri, 24 Feb 2012 17:09:56 +0000 Subject: Add the namespace 'dsig' to the signature elements Signed-off-by: Tobias Kellner git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1026 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java b/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java index f269c467..9cc44275 100644 --- a/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java +++ b/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java @@ -366,6 +366,7 @@ public class IdentityLinkFactory { keyInfo, Collections.singletonList(xmlObject), null, null); DOMSignContext signContext = new DOMSignContext(key, assertion); + signContext.putNamespacePrefix(XMLSignature.XMLNS, "dsig"); if (log.isTraceEnabled()) { signContext.setProperty("javax.xml.crypto.dsig.cacheReference", Boolean.TRUE); -- cgit v1.2.3