mace-opensaml-users - Re: [OpenSAML] Developing Entensions
Subject: OpenSAML user discussion
List archive
- From: Brent Putman <>
- To:
- Subject: Re: [OpenSAML] Developing Entensions
- Date: Tue, 03 Nov 2009 16:15:07 -0500
Deena Gurajala wrote:
> I figured out that I have to write a custom schema for my extensions.
> They way I did it is.
>
> -write a custom schema.
Yes, you probably should have a schema for your custom stuff.
> - Use JAXB to marshal the JAVA to XML DOM.
> -Then set it o Extensions using setDOM method.
>
No, not really. JAXB is not really a complimentary technology to
OpenSAML. They are both Java-XML binding approaches. Use one or the
other, but probably not both.
>
>
> Extensions extens=new ExtensionsBuilder().buildObject();
>
> extens.setDOM(new
> DocumentGenerator().generate().getDocumentElement());
No, definitely do not use the setDOM method on the XMLObjects. That is
used by other components withing the library (marshallers and
unmarshallers) to cache the DOM representation of the XMLObject, it is
not really intended for use via the public API. You'll get
unpredictable results doing that.
- Developing Entensions, Deena Gurajala, 11/02/2009
- Re: [OpenSAML] Developing Entensions, Brent Putman, 11/02/2009
- Re: [OpenSAML] Developing Entensions, Deena Gurajala, 11/02/2009
- Re: [OpenSAML] Developing Entensions, Brent Putman, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Deena Gurajala, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Brent Putman, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Deena Gurajala, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Brent Putman, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Deena Gurajala, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Brent Putman, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Deena Gurajala, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Deena Gurajala, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Brent Putman, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Deena Gurajala, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Brent Putman, 11/03/2009
- Re: [OpenSAML] Developing Entensions, Deena Gurajala, 11/02/2009
- Re: [OpenSAML] Developing Entensions, Brent Putman, 11/02/2009
Archive powered by MHonArc 2.6.16.