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 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
- 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.