error validating signature on Jboss
Mitu Singh
mitusingh27 at yahoo.com
Mon May 13 19:25:06 EDT 2013
Brent,
I am endorsing the jars on my server.
I am printing the response xml using the following code before I validate the signature:
//print the response xml
ResponseMarshaller marshaller = new ResponseMarshaller();
Element plaintextElement = marshaller.marshall(response);
String responseString = XMLHelper.nodeToString(plaintextElement);
log.info("SAML Response: " + responseString);
If I comment out the above code, the signature validator validates corrrectly. Does the above code in anyway modify the Response? I don't think it should, but this is why i am seeing the errors. If I get the response from the messagecontext and validate signature, it works with xmlsec1.5.4. But If I marshal to print the response....I get error with xmlsec1.5.4.
Thanks for your help!
-Mitu
________________________________
--
To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20130513/136052a9/attachment.html
More information about the dev
mailing list