multilanguage attribute value
Chad La Joie
lajoie at itumi.biz
Fri Sep 2 13:51:02 BST 2011
The "proper" way would probably be to tag the <AttributeValue> with an
'xml:lang; attribute but the IdP doesn't expose any way to do that
nor, I suspect, does the SP know how to handle it.
For now you probably will have to create a new attribute. I'd also
recommend you file an RFE with both IdPv3 and the SP with the
suggestion that there be a way to carry the language for an attribute
value (if it's known).
2011/9/2 Athanasios Douitsis <aduitsis at gmail.com>:
>
>
> 2011/9/2 Chad La Joie <lajoie at itumi.biz>
>>
>> No, because there aren't two attributes. Friendly name is *only* for
>> human consumption, it should *never* be used by any software.
>
> Any suggestions on how I should go about it? Using a bogus oid seems like a
> royal kludge.
>
>>
>> 2011/9/2 Athanasios Douitsis <aduitsis at gmail.com>:
>> > Hi all,
>> >
>> > A quickie, suppose part of my assertion is
>> >
>> > <saml2:Attribute FriendlyName="cn" Name="urn:oid:2.5.4.3"
>> > NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
>> > <saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > xsi:type="xs:string">Athanasios Douitsis</saml2:AttributeValue>
>> > </saml2:Attribute>
>> > <saml2:Attribute FriendlyName="cn;lang-el" Name="urn:oid:2.5.4.3"
>> > NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
>> > <saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > xsi:type="xs:string">Αθανάσιος Δουΐτσης</saml2:AttributeValue>
>> > </saml2:Attribute>
>> >
>> > As you can see, same Name, different friendlyName. Is there a way to
>> > have
>> > the two values in different variables in the SP?
>> >
>> > Best Regards,
>> > Athanasios
>> >
>> >
>> > --
>> > To unsubscribe from this list send an email to
>> > users-unsubscribe at shibboleth.net
>> >
>>
>>
>>
>> --
>> Chad La Joie
>> www.itumi.biz
>> trusted identities, delivered
>> --
>> To unsubscribe from this list send an email to
>> users-unsubscribe at shibboleth.net
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
--
Chad La Joie
www.itumi.biz
trusted identities, delivered
More information about the users
mailing list