Multiple copies of an attribute?

Mike Flynn shibbolethlynda at yahoo.com
Wed May 29 13:15:45 EDT 2013


I asked them for a sample and they gave this:

<saml:Attribute Name="role">
                <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
                                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                     xsi:type="xs:string"
                                     >DET.CONTRACTOR</saml:AttributeValue>
                <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
                                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                     xsi:type="xs:string"
                                     >TAFE.TEACHER</saml:AttributeValue>
            </saml:Attribute>

Will that then appear as a single ROLE attribute with multiple values?


________________________________
 From: "Cantor, Scott" <cantor.2 at osu.edu>
To: Shib Users <users at shibboleth.net> 
Sent: Wednesday, May 29, 2013 10:12 AM
Subject: Re: Multiple copies of an attribute?
 

On 5/29/13 1:02 PM, "Mike Flynn" <shibbolethlynda at yahoo.com> wrote:

>They want to send us multiple copies of the ROLE attribute, each with a
>different value. 

That doesn't really mean anything in SAML terms. If you want to talk about
a specific XML expression, we can do that, provided I know how you're
extracting it.

To say "multiple copies of an attribute" in SAML terms would strictly
speaking mean:

<saml:Attribute Name="ŠRole">
    <saml:AttributeValue/>
</saml:Attribute>
<saml:Attribute Name="ŠRole">
    <saml:AttributeValue/>
</saml:Attribute>

That isn't advisable (it's sort of precluded by the standard), but it
probably happens.


-- Scott


--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130529/03a4b878/attachment.html 


More information about the users mailing list