How to inject/add a signed SAML Assertion into a Response?

o haya ohaya at yahoo.com
Sat Feb 16 02:56:41 EST 2019


Hi,
I have an Assertion (named 'assertion') containing a signed SAML assertion that my code has constructed, and also, separately, a Response (org.opensaml.saml2.core.Response) object (named 'resp') that I created using:
        Response resp = (Response) Configuration.getBuilderFactory().getBuilder(Response.DEFAULT_ELEMENT_NAME).buildObject(Response.DEFAULT_ELEMENT_NAME);
How can I inject the Assertion into the Response?
Thanks,Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20190216/c67d1e08/attachment.html>


More information about the dev mailing list