mace-opensaml-users - RE: Problem building SAMLAssertion
Subject: OpenSAML user discussion
List archive
- From: "Scott Cantor" <>
- To: "'Jean-Noel Colin'" <>
- Cc: <>
- Subject: RE: Problem building SAMLAssertion
- Date: Thu, 6 Oct 2005 14:55:01 -0400
- Organization: The Ohio State University
> What do you mean by passing the input source to OpenSAML?
I mean any time you parse any XML that you expect to pass into OpenSAML, you
have to get the parser object from XML.ParserPool first. Failing to do that
will result in random crashes if data is invalid and almost certainly
signature verification failures.
In this case, the parser object is bogus, it wasn't even namespace aware. If
you want to configure your own parser, you can do it at your own risk, but
there are many properties you have to set.
> The OpenSAML parser engine is XML.ParserPool, isn't it?
Yes, which you're *not* using in your sample code, that's the bug. There are
shortcut methods for parsing from any type of standard input source.
-- Scott
- RE: Problem building SAMLAssertion, Scott Cantor, 10/06/2005
- Re: Problem building SAMLAssertion, Jean-Noel Colin, 10/06/2005
- RE: Problem building SAMLAssertion, Scott Cantor, 10/06/2005
- Re: Problem building SAMLAssertion, Jean-Noel Colin, 10/06/2005
Archive powered by MHonArc 2.6.16.