Re: [saml-dev] multiple attributes

From
nitin dangwal <>
Date
2008-06-02T21:33:13+00:00
ID
Thread
Re: [saml-dev] multiple attributes
Well,

 

OASIS recommends two <attributeValue> elements for a single attribute is possible.

 

<AttributeValue> 
[Any Number] 

Contains a value of the attribute. If an attribute contains more than one discrete value, it isRECOMMENDED that each value appear in its own 
<AttributeValue> element. If more than one <AttributeValue> element is supplied for an attribute, and any of the elements have a datatype assigned through xsi:type, then all of the <AttributeValue> elements must have the identical datatype assigned. 

 

Although there are no restrictions as such. 

 

Regards,

Nitin Dangwal

 

On 6/2/08, Scott Cantor <> wrote: 
> I can't find anything in any of the SAML specs that prohibits multiple
> occurrences of the same attribute in a SAML attribute assertion.  For

> example, if an IdP wished to assert two e-mail addresses, it seems the
> IdP could formulate one attribute with two values or two attributes
> (with the same name) each with a single value.  Am I interpreting this

> correctly?

Far as I know.

-- Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: 

For additional commands, e-mail: