diff options
-rw-r--r-- | utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java | 1 |
1 files changed, 1 insertions, 0 deletions
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); |