Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] loading additional configuration with XMLConfigurator

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] loading additional configuration with XMLConfigurator


Chronological Thread 
  • From: Kenny Pearce <>
  • To:
  • Subject: Re: [OpenSAML] loading additional configuration with XMLConfigurator
  • Date: Tue, 1 Apr 2008 12:01:47 -0400
  • Organization: Hx Technologies

Ah, excellent. No XML file :)

I will try this. Thanks.

On Tue, 2008-04-01 at 17:46 +0200, Manuela Stanica wrote:
>
> Kenny Pearce wrote:
> > Hi,
> > I'm getting odd classloader behavior with the XMLConfigurator. I am
> > creating a SAML extension (an additional message type), so I made a new
> > XML file and after calling DefaultBootstrap.bootstrap, I call
> > XMLConfigurator.load with an InputStream to my XML file (please tell me
> > if this is not the correct way to do this).
> Hi,
>
> I'm not so familiar with the way you're trying to register your
> extension, maybe it's the other way of doing it. What worked for me
> however is pretty easy and quick, just registering the extension
> object's providers after calling the default bootstrap:
>
> org.opensaml.xml.Configuration.registerObjectProvider(
> YourExtensionObject.DEFAULT_ELEMENT_NAME,
> new YourExtensionObjectBuilder(), new
> YourExtensionObjectMarshaller(),
> new YourExtensionObjectUnmarshaller(), null);
>
> Not very sure this corresponds to what you're trying to do, thought I'd
> mention it in case it helps.
>
> Regards,
> Manuela
>
>




Archive powered by MHonArc 2.6.16.

Top of Page