Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] OpenSAML 2.0 custom data type help

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] OpenSAML 2.0 custom data type help


Chronological Thread 
  • From: Brent Putman <>
  • To:
  • Subject: Re: [OpenSAML] OpenSAML 2.0 custom data type help
  • Date: Mon, 09 Feb 2009 11:37:20 -0500



Neill Miller wrote:
> Hello Brent,
>
> Thanks, the prettyPrintXML method looks great.

Just be aware that if you're doing signing, you can't use pretty print.
You have to serialize using a mechanism that doesn't modify the signed
DOM, which pretty printing does. That method is primarily only for use
in making log files or debug output more easily human-readable.

> Any ideas on my original question about the custom data type building
> into the AttributeValue?
>

I thought that Scott and I had already answered that question. For the
reasons Scott stated, you probably don't want the xsi:type to be
emitted. You can achieve that by using one of the builder build(...)
methods that doesn't take the type QName argument.

--Brent






Archive powered by MHonArc 2.6.16.

Top of Page