OpenSAML 3.2.0 not generating proper signatures
Brent Putman
putmanb at georgetown.edu
Tue Jan 3 16:45:59 EST 2017
On 1/3/17 4:24 PM, Marc Boorshtein wrote:
>
> Inside of HTTPPostEncoder I found the SerializeSupport class which has
> the nodeToString method which is working perfectly.
Yes, SerializeSupport is the very low-level mechanism (in java-support,
not SAML specific) we have for for serializing an XML DOM Node to a
String in a way which doesn't molest the structure.
However, if what you are doing is emitting SAML protocol messages to an
HttpServletResponse via one of the defined SAML bindings, then the most
useful way is indeed with the higher-level Encoders, like
HTTPPostEncoder and HTTPRedirectDeflateEncoder (which as you noted make
use of SerializeSupport.nodeToString(...)). That's probably covered in
Stefan's book; if not, the unit tests are good examples of how to use
the encoders.
--Brent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20170103/ee2a2f2e/attachment-0001.html>
More information about the dev
mailing list