Unmarshalling saml metadata extensions

Cantor, Scott cantor.2 at osu.edu
Thu May 21 08:01:24 EDT 2015


On 5/21/15, 11:54 AM, "Maduranga Siriwardena" 
<maduranga.siriwardena at gmail.com> wrote:



>I have created some extensions in saml metadata. I'm trying to unmarshall 
>the xml using opensaml2. I have created the interface, implementation 
>class, builder, marshaller and unmarshaller of the extension. Then I 
>registered the object providers using like
> this (my extension is RequestedAudiences).

And what does the XML look like?

>It returns objects of the type
>org.opensaml.xml.schema.impl.XSAnyImpl

That means your classes aren't being registered or don't correspond to the 
XML on the wire.

-- Scott



More information about the dev mailing list