Unmarshalling saml metadata extensions
Maduranga Siriwardena
maduranga.siriwardena at gmail.com
Thu May 21 08:46:58 EDT 2015
So what you mean is my element name must be "Condition" with the namespace
saml and typename (in this case RequestedAudiences) should be typename.
Please correct me if I am wrong.
Can you please point me to some article that explains how to create saml
metadata extensions using opensaml 2?
Thank you.
On Thu, May 21, 2015 at 6:00 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> 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
>
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe at shibboleth.net
>
--
Maduranga Siriwardena
Undergraduate
Department of Computer Science and Engineering
Faculty of Engineering, University of Moratuwa.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150521/5f28b013/attachment.html>
More information about the dev
mailing list