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


Help: OASIS Mailing Lists Help | MarkMail Help

wss message

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

Subject: Re: [wss] the saml token profile depends on non-global attributes inkey identifier/wsse schema does not support keyIdentifier element extensibility


Attribute and element extensibility are different.
You can have any attribute in keyIdentifier, but
you can't have any element.

To use a keyIdentifier to reference an off msg
SAML assertion, we need to know the saml:location
and saml:binding attributes to be able to dereference
the assertion id. The saml attributes are not global, thus
they cannot be directly included in keyIdentifier via its
attribute extensibility (although they could be cloned).

SAML defines a global element called AuthorityBinding that
contains the saml:location and saml:binding attributes. The
AuthorityBinding element could have been directly included
in keyIdentifier if EncodedString supported element extensibility.

My long term preference is to use a Direct Reference, but SAML
is in the process of defining URI reference forms.

My current thinking is that I will advocate including a 
element at the top of the STR, when location and or binding attributes are
needed to interpret a contained keyIdentifier.

What do you think and thanks for answering.

Chris Kaler wrote:

>I believe if you trace back the type of EncodedString you will find that
>it does support attribute extensibility.  EncodedString extends
>AttributedString which allows for any attributes:
>	<xsd:anyAttribute namespace="##other" processContents="lax"/>
>What am I missing?
>-----Original Message-----
>From: Ron Monzillo [mailto:Ronald.Monzillo@Sun.COM] 
>Sent: Tuesday, January 20, 2004 2:04 PM
>To: wss@lists.oasis-open.org
>Cc: Levinson, Richard
>Subject: [wss] the saml token profile depends on non-global attributes
>in key identifier/wsse schema does not support keyIdentifier element
>The schema for wsse:KeyIdentifier does not support element
>The SAML token profile relies on non-global saml attributes (i.e. 
>and saml:binding) to format keyIdentifier SecurityTokenReferences.
>The non-global attributes could be replaced with the global 
>element, if the wsse:KeyIdentifier supported element extensibility.
>There are 2 paths forward.
>. Modify the wsse:schema to allow any element to be included in 
>. use Direct References with  an optional contained AuthorityBinding
>  to reference SAML assertions, when the authority and binding must be 
>  to acquire the assertion.
>I am working on modifying the profile to take the latter approach, but
>appreciate feedback from the TC.
>Any comments?
><xsd:complexType name="KeyIdentifierType">
>    <xsd:annotation>
><xsd:documentation>A security token key identifier</xsd:documentation>
>    <xsd:simpleContent>
>    <xsd:extension base="wsse:EncodedString">
><xsd:attribute name="ValueType" type="xsd:anyURI"/>
>Ron Monzillo wrote:
>>BTW, in section 3.3, we need to change the way SAML keyIdentifier 
>>are composed, as the Binding and Location attributes are not global. 
>>Perhaps we can
>>use the SAML AuthorityBinding construct, as apposed to its internal 
>To unsubscribe from this mailing list (and be removed from the roster of
>the OASIS TC), go to

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