Skip to Content.
Sympa Menu

mace-opensaml-users - Re: SAML 2.0 metadata

Subject: OpenSAML user discussion

List archive

Re: SAML 2.0 metadata


Chronological Thread 
  • From: Manuela Stanica <>
  • To: Chad La Joie <>
  • Cc:
  • Subject: Re: SAML 2.0 metadata
  • Date: Tue, 18 Apr 2006 15:30:55 +0200

Chad La Joie schrieb:
Make sure you have the latest XMLTooling and OpenSAML code. My guess is that your XMLTooling code is out of date.

Thank you, that did help :). Indeed I had forgotten to check out the XMLTooling code, as it compiled well and I supposed that it wouldn't be modified.
Now I no longer get any errors with the openSAML code either.

As far as my implementation code is concerned, it is equivalent to the example that appears in the openSAML 2 user's manual. on the wiki page. However, where it still gets stuck is at the unmarshallerFactory.getUnmarshaller(metadataRoot) method, as it eventually tries to fetch the appropriate unmarshaller from the 'unmarshallers' Map, which is empty...
Is this map going to be populated with the unmarshaller entities corresponding to SAML 2 metadata types? Or are the developers supposed to do this manually by means of the registerUnmarshaller(QName key, Unmarshaller unmarshaller) method in UnmarshallerFactory? (this would seem like a lot of work...)

After having manually registered the EntityDescriptorUnmarshaller in this way, the unmarshall() method encountered the same problem while trying to find the EntityDescriptorBuilder from the 'builders' Map, which is empty as well. I also inserted code to register this builder, but then of course the same happens while trying to unmarshall all the child elements of the given document.
Should all these unmarshallers and builders really be registered manually or are they to be found in the corresponding maps at some point?

Thanks a lot for your help.

(And thank you too Tom, I will take a look at the GridShib code you mentioned to see if there is anything that could apply to the project I work on (eduGAIN AAI infrastructure in GEANT2)).

Manuela

--
Manuela Stanica

DFN-Verein - The German Education & Research Network
Stresemannstrasse 78, D-10963 Berlin


Tel. +49 30 88429929
www.dfn.de Fax +49 30 88429970




Archive powered by MHonArc 2.6.16.

Top of Page