OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

security-services message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: [security-services] RE: [saml-dev] status code value

Thanks, Scott. That makes sense. In the inteop event, "samlp:Success" was used.


>Date: Thu, 18 Jul 2002 21:33:12 -0400
>From: Scott Cantor <cantor.2@osu.edu>
>Subject: RE: [saml-dev] status code value
>To: "'Emily Xu'" <Emily.Xu@sun.com>, saml-dev@lists.oasis-open.org
>Cc: security-services@lists.oasis-open.org
>MIME-version: 1.0
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Content-transfer-encoding: 7BIT
>Importance: Normal
>X-Priority: 3 (Normal)
>X-MSMail-priority: Normal
>> "All status code values defined in this document are QNames 
>> associated with the SAML protocol namespace,  and MUST be prefixed
>> appropriately when they appear in SAML messages."
>> To my understanding, this means a valid status code value 
>> would be: "urn:oasis:names:tc:SAML:1.0:protocol:Success"
>> For example, 
>> <abc:StatusCode xmlns:abc="urn:oasis:names:tc:SAML:1.0:protocol" 
>> Value="urn:oasis:names:tc:SAML:1.0:protocol:Success"/>
>No, that's not a QName. A QName is a namespace prefix and a local name
>(the prefix being optional), not a complete namespace and a local name.
>So you have to have:
><StatusCode xmlns="urn:oasis:names:tc:SAML:1.0:protocol"
><samlp:StatusCode xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
>    Value="samlp:Success"/>
>There are inconsistencies in various XML APIs and specs in terms of
>properly handling QNames in attribute values and element content,
>because the usage wasn't initially expected or defined. But it's
>increasingly common.
>Personally, I had to define a QName type and implement some of the
>behavior I needed, but some parsers may provide some of that.
>-- Scott

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC