Mashaling signed assertion causes assertion signature validation to fail

Gang Yang gang.yang at shonborn-becker.com
Fri Jul 17 16:05:59 EDT 2015


Hi,



I'm using OpenSAML 2.5.1-1. When I construct an assertion, sign it and
validate the signature, it all works. However, if I print the assertion by
marshaling it to Element and then String before I validate the signature,
it causes the signature validation to fail with the following exception:



*org.opensaml.xml.validation.ValidationException*
: Apache xmlsec IdResolver could not resolve the Element for id reference:
abcd



I check the source code history of the code dated back two years ago, it's
the same. I do believe it worked then otherwise I would not have checked
in. Has anyone seen similar problem? Can someone provide some pointers and
suggestions on this issue?



Thanks in advance.



Gang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150717/2d1eb89c/attachment.html>


More information about the dev mailing list