Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Unmarshall and validating an SAML file

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Unmarshall and validating an SAML file


Chronological Thread 
  • From: Xavier Drudis Ferran <>
  • To:
  • Subject: Re: [OpenSAML] Unmarshall and validating an SAML file
  • Date: Thu, 22 Oct 2009 11:59:43 +0200

On Thu, Oct 22, 2009 at 05:42:17AM -0400,

wrote:
> String inCommonMDFile = "templates/SamlResponse.xml";
[...]
> InputStream in = new ByteArrayInputStream(inCommonMDFile.getBytes());
> Document inCommonMDDoc = ppMgr.parse(in);

Are you using the file name as if it was the file content ?
Why don't you just use a FileInputStream ?

--
Xavi Drudis Ferran




Archive powered by MHonArc 2.6.16.

Top of Page