Unmarshalling saml metadata extensions

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


On 5/21/15, 12:08 PM, "Maduranga Siriwardena" 
<maduranga.siriwardena at gmail.com> wrote:



>This is a sample of my XML. I have several extensions. As an example I 
>selected RequestedAudiences.

Reason I asked is that's invalid. SAML extension containers like 
Conditions require that the extension element by done via xsi:type, not 
element name. And you're registering the *type*, not the element name.

>      <wso2:RequestedAudiences xmlns:wso2="org.wso2">

That should be <saml:Condition xsi:type="wso2:RequestedAudiences"> or 
whatever the typename is. An element like that will be schema-invalid.

-- Scott



More information about the dev mailing list