Skip to Content.
Sympa Menu

mace-opensaml-users - RE: Problem building SAMLAssertion

Subject: OpenSAML user discussion

List archive

RE: Problem building SAMLAssertion


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: "'Jean-Noel Colin'" <>
  • Cc: <>
  • Subject: RE: Problem building SAMLAssertion
  • Date: Thu, 6 Oct 2005 15:26:18 -0400
  • Organization: The Ohio State University

> OK, so what i'm doing now is:
>
> InputSource is = new InputSource(new StringReader(token));
> ParserPool p = new ParserPool();
> Document doc = p.parse(is, p.getDefaultSchema());
> SAMLAssertion assertion = new
> SAMLAssertion(doc.getDocumentElement());

This is extra work and defeats grammar caching. Just do:

XML.parserPool.parse(is);

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page