Specification URIs:
This Version:
http://docs.oasis-open.org/imi/identity/cd/imi-saml2.0-profile-cd-03.html
http://docs.oasis-open.org/imi/identity/cd/imi-saml2.0-profile-cd-03.doc (Authoritative)
http://docs.oasis-open.org/imi/identity/cd/imi-saml2.0-profile-cd-03.pdf
Previous Version:
http://docs.oasis-open.org/imi/identity/cd/imi-saml2.0-profile-cd-02.html
http://docs.oasis-open.org/imi/identity/cd/imi-saml2.0-profile-cd-02.doc (Authoritative)
http://docs.oasis-open.org/imi/identity/cd/imi-saml2.0-profile-cd-02.pdf
Latest Version:
http://docs.oasis-open.org/imi/identity/imi-saml2.0-profile.html
http://docs.oasis-open.org/imi/identity/imi-saml2.0-profile.doc (Authoritative)
http://docs.oasis-open.org/imi/identity/imi-saml2.0-profile.pdf
Technical Committee:
OASIS Identity Metasystem Interoperability (IMI) TC
Chair(s):
Marc Goodner, Microsoft Corporation
Anthony Nadalin, Microsoft Corporation
Editor(s):
Scott Cantor, Internet2
Michael B. Jones, Microsoft Corporation
Related work:
This specification replaces or supersedes:
This specification is related to:
Declared XML Namespace(s):
http://docs.oasis-open.org/imi/ns/token/saml2/200908
Abstract:
This profile describes a set of rules for Identity Providers and Relying Parties to follow when using SAML V2.0 assertions as managed Information Card security tokens, so that interoperability and security is achieved commensurate with other SAML authentication profiles.
Status:
This document was last revised or approved by the Identity Metasystem Interoperability TC on the above date. The level of approval is also listed above. Check the “Latest Version” or “Latest Approved Version” location noted above for possible later revisions of this document.
Technical Committee members should send comments on this specification to the Technical Committee’s email list. Others should send comments to the Technical Committee by using the “Send a Comment” button on the Technical Committee’s web page at http://www.oasis-open.org/committees/imi/.
For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the Technical Committee web page (http://www.oasis-open.org/committees/imi/ipr.php).
The non-normative errata page for this specification is located at http://www.oasis-open.org/committees/imi/.
Notices
Copyright © OASIS® 2010. All Rights Reserved.
All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.
OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.
The name "OASIS" is a trademark of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see http://www.oasis-open.org/who/trademark.php for above guidance.
Table of Contents
2 SAML V2.0 Information Card Token Profile
2.3 Identity Provider Requirements
2.3.2 Identifying Token Issuers
2.3.3 General Assertion Requirements
2.3.4 Proof Keys and Subject Confirmation
2.4 Relying Party Requirements
2.4.2 Identifying Token Issuers
2.4.3 Identifying Relying Parties
2.6.1 Unconstrained Bearer Assertions
2.7.2 One Required Claim, as Federated NameID
OASIS has standardized a set of profiles for acquiring and delivering security tokens, collectively referred to as "Information Card" technology. These profiles are agnostic with respect to the format and semantics of a security token, but interoperability between Issuing and Relying Parties cannot be achieved without additional rules governing the creation and use of the tokens exchanged. This document describes a set of rules for the use of SAML V2.0 assertions, as defined in [SAML2Core], as security tokens within the Information Card architecture.
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in [RFC 2119].
This specification uses the following syntax to define outlines for assertions:
Elements and Attributes defined by this specification are referred to in the text of this document using XPath 1.0 expressions. Extensibility points are referred to using an extended version of this syntax:
Extensibility points in the exemplar may not be described in the corresponding text.
This specification uses the following typographical conventions in text: <SAMLElement>, <ns:ForeignElement>, Attribute, Datatype, OtherCode.
Conventional XML namespace prefixes are used throughout the listings in this specification to stand for their respective namespaces as follows, whether or not a namespace declaration is present in the example:
Prefix |
XML Namespace |
Comments |
saml: |
urn:oasis:names:tc:SAML:2.0:assertion |
This is the SAML V2.0 assertion namespace defined in the SAML V2.0 core specification [SAML2Core]. |
md: |
urn:oasis:names:tc:SAML:2.0:metadata |
This is the SAML V2.0 metadata namespace defined in the SAML V2.0 metadata specification [SAML2Meta]. |
ic: |
http://schemas.xmlsoap.org/ws/2005/05/identity |
This is the Information Card namespace defined in the Identity Metasystem Interoperability standard [IMI]. |
wsa: |
http://www.w3.org/2005/08/addressing |
This is the WS-Addressing namespace defined in the WS-Addressing specification [WS-Addressing]. |
wsp: |
http://schemas.xmlsoap.org/ws/2004/09/policy |
This is the WS-Policy namespace defined in the March 2006 WS-Policy specification [WS-Policy]. |
sp: |
May refer to either http://schemas.xmlsoap.org/ws/2005/07/securitypolicy or http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702 since both may be used |
This is either the WS-SecurityPolicy namespace defined by the WS-SecurityPolicy 1.1 specification [WS-SecPol11] or the OASIS WS-SecurityPolicy 1.2 specification [WS-SecPol12]. |
wst: |
May refer to any of http://schemas.xmlsoap.org/ws/2005/02/trust, http://docs.oasis-open.org/ws-sx/ws-trust/200512, or http://docs.oasis-open.org/ws-sx/ws-trust/200802, since all may be used |
This is one the WS-Trust namespaces defined in the February 2005 WS-Trust specification [WS-Trust12], the OASIS WS-Trust 1.3 standard [WS-Trust13], or the OASIS WS-Trust 1.4 standard [WS-Trust14]. |
ds: |
http://www.w3.org/2000/09/xmldsig# |
This is the XML Signature namespace [XMLSig]. |
[IMI] OASIS Standard, “Identity Metasystem Interoperability V1.0”, July 2009. http://docs.oasis-open.org/imi/identity/v1.0/os/identity-1.0-spec-os.pdf
[RFC2119] S. Bradner. “Key words for use in RFCs to Indicate Requirement Levels”. IETF RFC 2119, March 1997. http://www.ietf.org/rfc/rfc2119.txt.
[SAML2Core] OASIS Standard, “Assertions and Protocols for the OASIS Security Assertion Markup Language (SAML) V2.0”, March 2005. http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
[SAML2Meta] OASIS Standard, “Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0”, March 2005. http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf
[SAML2Prof] OASIS Standard, “Profiles for the OASIS Security Assertion Markup Language (SAML) V2.0”, March 2005. http://docs.oasis-open.org/security/saml/v2.0/saml-profiles-2.0-os.pdf
[WS-Addressing] M. Gudgin et al. “WS-Addressing 1.0 Core”. World Wide Web Consortium Recommendation, May 2006. http://www.w3.org/TR/2006/REC-ws-addr-core-20060509/
[WS-Policy] “Web Services Policy Framework, Version 1.2”, March 2006. http://specs.xmlsoap.org/ws/2004/09/policy/ws-policy.pdf
[WS-SecPol11] “Web Services Security Policy Language”, July 2005. http://specs.xmlsoap.org/ws/2005/07/securitypolicy/ws-securitypolicy.pdf
[WS-SecPol12] OASIS Standard, “WS-SecurityPolicy 1.2”, July 2007. http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/ws-securitypolicy-1.2-spec-os.pdf
[WS-Trust12] “Web Services Trust Language (WS-Trust)”, February 2005. http://specs.xmlsoap.org/ws/2005/02/trust/WS-Trust.pdf
[WS-Trust13] OASIS Standard, “WS-Trust 1.3”, March 2007. http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3-os.pdf
[WS-Trust14] OASIS Standard, “WS-Trust 1.4”, February 2009. http://docs.oasis-open.org/ws-sx/ws-trust/v1.4/os/ws-trust-1.4-spec-os.pdf
[XMLSig] D. Eastlake et al. “XML-Signature Syntax and Processing, Second Edition”. World Wide Web Consortium Recommendation, June 2008. http://www.w3.org/TR/xmldsig-core/
[SAML2Sec] OASIS Standard, “Security Considerations for the OASIS Security Assertion Markup Language (SAML) V2.0”, March 2005. http://docs.oasis-open.org/security/saml/v2.0/saml-sec-consider-2.0-os.pdf
[SAML1.1IMI] OASIS Committee Draft, “SAML V1.1 Information Card Token Profile Version 1.0”, July 2010. http://docs.oasis-open.org/imi/identity/cd/imi-saml1.1-profile-cd-02.pdf
Identification: http://docs.oasis-open.org/imi/ns/token/saml2/200908
Contact information: imi-comment@lists.oasis-open.org
Description: Given below
Identity Providers and Relying Parties employing the Identity Metasystem Interoperability [IMI] profile to request and exchange security tokens are able to use arbitrary token formats, provided there is agreement on the token's syntax and semantics, and a way to connect the token's content to the supported protocol features.
This profile provides a set of requirements and guidelines for the use of SAML V2.0 assertions as security tokens that, where possible, emulates existing SAML V2.0 authentication profiles [SAML2Prof] so as to limit the amount of new work that must be done by existing software to support the use of Information Cards. It also provides for the use of SAML assertions in this new context that is safe and consistent with best practices in similar contexts.
This profile does not seek to alter the required behavior of existing Identity Selector software, or conflict with the profile defined by [IMI].
While the SAML V2.0 specification [SAML2Core] defines an Identity Provider solely in terms of the SAML Authentication Request protocol, the term is generally applicable to an entity that issues authentication assertions by means of other, similar protocols. In this case, the Identity Provider functions as an Identity Provider/Security Token Service (IP/STS) in the Information Card vocabulary, and issues assertions in response to <wst:RequestSecurityToken> messages [WS-Trust12] or [WS-Trust13] or [WS-Trust14].
As defined by [IMI], the request contains information that provides input into the assertion creation process. The following sections outline requirements for interpreting this input and the resulting assertion content.
Identity Providers MUST support both of the following token type strings in conjunction with this profile:
· http://docs.oasis-open.org/imi/ns/token/saml2/200908
· urn:oasis:names:tc:SAML:2.0:assertion
These strings appear in various content produced and consumed by an Identity Provider, such as (but not limited to) the <wst:TokenType> element.
Information Cards issued by the Identity Provider MUST indicate support for both token types above.
Information Cards produced by Identity Providers MUST contain the Identity Provider's unique name as the value of the <ic:Issuer> element. This name corresponds to the SAML concept of an "entityID" and may correspond to an actual entityID in the SAML sense of the term, or a logically equivalent name for the Identity Provider.
Assertions issued in accordance with this profile MUST contain a single <saml:AuthnStatement> that reflects the authentication of the token requester to the Identity Provider. Note that it does NOT reflect the authentication taking place by means of the assertion to the Relying Party. It MAY contain a single <saml:AttributeStatement> that carries one or more <saml:Attribute> elements reflecting the claims requested by the Relying Party, in the manner specified by [IMI].
When satisfying these requested claims, the resulting <saml:Attribute> element's NameFormat XML attribute MUST be:
urn:oasis:names:tc:SAML:2.0:attrname-format:uri
The element's Name XML attribute MUST correspond to the requested claim type's URI value (e.g., in <ic:ClaimType> elements).
A <saml:NameID> element MAY be included in the assertion's <saml:Subject> element. If the requested claim types include a claim type with a URI corresponding to a SAML name identifier format known to the Identity Provider, it may satisfy that claim request by including a <saml:NameID> element of the proper format in the assertion's subject. If more than one claim type corresponding to a name identifier format is requested, the Identity Provider MAY fault the request or choose any requested format, at its discretion. If two such claim types are "required" by the Relying Party, a fault MUST be generated.
The assertion's <saml:Subject> element MUST contain at least one <saml:SubjectConfirmation> element, the details of which are defined in Section 2.3.4 below.
Finally, the assertion MUST be signed.
[IMI] defines three classes of "proof keys" that bind the issued token to key material controlled by the client: symmetric, asymmetric, and no key. The notion of a proof key maps directly to a <saml:SubjectConfirmation> element in the issued assertion.
If a token request does not include a <wst:KeyType> element, the Identity Provider SHOULD assume that a symmetric proof key is required, in accordance with [WS-Trust13] or [WS-Trust14].
Both symmetric and asymmetric proof key types generally correspond to the "holder-of-key" confirmation method defined in Section 3.1 of [SAML2Prof]. For the proof key types and algorithms specified by [IMI], the resulting assertion MUST contain a <saml:SubjectConfirmation> element with a Method of:
urn:oasis:names:tc:SAML:2.0:cm:holder-of-key
The accompanying <ds:KeyInfo> element MUST identify the proof key. In the case of an RSA asymmetric proof key, the key SHOULD be represented as a <ds:RSAKeyValue> element within a <ds:KeyValue> element.
Proof key algorithms defined outside of [IMI] MAY specify alternate <saml:SubjectConfirmation> content, if necessary.
The "no key" proof key type corresponds to the "bearer" confirmation method defined in Section 3.3 of [SAML2Prof]. The resulting assertion MUST contain a <saml:SubjectConfirmation> element with a Method of:
urn:oasis:names:tc:SAML:2.0:cm:bearer
In the case of bearer assertions, the <saml:SubjectConfirmation> element MUST include a <saml:SubjectConfirmationData> element containing a NotOnOrAfter XML attribute to limit their use, typically to a very short window of time, although the exact duration may be use case dependent. The attribute MAY be included for "holder-of-key" assertions, at the discretion of the Identity Provider.
The <saml:SubjectConfirmationData> element, if present, MUST NOT contain a NotBefore or Recipient XML attribute. The Address XML attribute MAY be included to indicate the expected network address of the client to the Relying Party.
Finally, note that other <saml:SubjectConfirmation> elements MAY be included at the discretion of the Identity Provider.
Assertions MAY contain a <saml:Conditions> element with NotBefore and NotOnOrAfter attributes. This validity period can be independent of the window during which the client can present the assertion to a Relying Party as a security token (see Section 2.3.4), but of course must be a superset of that window.
If the request contains a <wsp:AppliesTo> element, then a <saml:AudienceRestriction> containing a <saml:Audience> element MUST be included with the value of that element.
Other conditions MAY be included at the discretion of the Identity Provider.
If a suitable key belonging to the Relying Party is known, the Identity Provider SHOULD encrypt the resulting assertion in accordance with Section 6 of [SAML2Core], and return the result to the requester in the form of a <saml:EncryptedAssertion> element.
If a public key belonging to the Relying Party is communicated to the Identity Provider in the <wst:RequestSecurityToken> request message in the <wsp:AppliesTo> element, this key SHOULD be used in preference to any other key known to the Identity Provider through others means (e.g., SAML V2.0 metadata).
A Relying Party uses the mechanisms defined by [IMI] to request security tokens in the form of SAML 2.0 assertions issued by particular or arbitrary Identity Providers. The following sections outline requirements for describing a Relying Party's needs based on this profile.
Relying Parties SHOULD use the following token type string when requesting a token in conjunction with this profile:
http://docs.oasis-open.org/imi/ns/token/saml2/200908
This string appears in various content produced by a Relying Party, such as (but not limited to) the <wst:TokenType> element.
For backward compatibility, Relying Parties MAY use the following token type string:
urn:oasis:names:tc:SAML:2.0:assertion
When using the legacy token type, Relying Parties should be aware that the resulting assertions may or may not conform to this profile. If such a guarantee is required, the newer token type SHOULD be used instead.
When identifying a requirement for a specific token issuer, the Relying Party SHOULD use the Identity Provider's unique name (i.e., its “entityID”), either as the value of the <sp:Issuer>/<wsa:Address> element in its security policy or as the value of the issuer OBJECT tag parameter.
If the Relying Party provides security policy metadata (see Section 3.1 of [IMI]), it MAY include a <wsp:AppliesTo> element inside a <sp:RequestSecurityTokenTemplate> element that refers to its own unique name (i.e., its "entityID") in the <wsa:Address> element.
If it does include a <wsp:AppliesTo> element, it SHOULD NOT identify itself using the location of its endpoint, as this complicates the Identity Provider's ability to identify the Relying Party. A logical name SHOULD be used instead.
SAML attributes required or desired by the Relying Party are identified by using the SAML attribute's Name XML attribute in various places, such as the <ic:ClaimType> element's Uri XML attribute. Such SAML attributes MUST have a NameFormat XML attribute of:
urn:oasis:names:tc:SAML:2.0:attrname-format:uri
A claim type URI corresponding to a SAML name identifier format MAY be used to request a particular type of <saml:NameID> element in the resulting assertion. A Relying Party MUST NOT request more than one "required" claim type corresponding to a name identifier format.
Relying Parties SHOULD evaluate assertions using the rules defined by [SAML2Core] (and [SAML2Prof] in the case of the defined subject confirmation methods). Invalid assertions SHOULD NOT be used to authenticate clients that present them.
In assessing validity, a Relying Party MUST verify the signature over the assertion, evaluate any conditions present, and successfully evaluate at least one <saml:SubjectConfirmation> element in the assertion based on the presentation of the assertion. This may include verifying that the NotOnOrAfter attribute in the <saml:SubjectConfirmationData> (if present) has not passed, subject to allowable clock skew between it and the Identity Provider.
If the <saml:SubjectConfirmationData> includes an Address attribute, the Relying Party MAY check the client address against it.
In the case of the "holder-of-key" method, the Relying Party MUST establish proof of possession by the client of the key identified by the accompanying <ds:KeyInfo> element, such as through the use of a message signature or authentication over a secure transport. The exact means are out of scope of this profile.
In the case of the "bearer" method, the Relying Party MUST ensure that assertions are not replayed, by maintaining the set of used ID values for the length of time for which the assertion would be considered valid based on the NotOnOrAfter attribute in the <saml:SubjectConfirmationData> element.
While not required, sites exchanging SAML assertions based on this profile MAY rely on SAML V2.0 metadata [SAML2Meta] as a way of deriving information about endpoints and keys, to supplement mechanisms that exist within [IMI]. Where similarities or overlaps exist, precedence MUST be given to metadata information exchanged using the mechanisms defined by [IMI].
When referring to token issuers or Relying Parties by "logical" names, in the manner described by [IMI], the names used SHOULD correspond to the "entityID" values used in SAML metadata.
The value http://docs.oasis-open.org/imi/ns/token/saml2/200908 MUST be used in the protocolSupportEnumeration attribute to identify support for this profile within a <md:IDPSSODescriptor> or <md:SPSSODescriptor> role.
If <md:SingleSignOnService> or <md:AssertionConsumerService> endpoints supporting this profile are included, the same value MUST be used as the value of the Binding attribute. In addition, a <wsa:EndpointReference> element MAY be included within an endpoint element to describe the endpoint and its security policy in accordance with [IMI].
The Information Card model's support for hiding the identity of the Relying Party from the Identity Provider, combined with constraints on the implementation of the model for use with web browsers, leads to requests for "unconstrained" bearer assertions with no audience or subject confirmation conditions on use. While all uses of bearer assertions are subject to certain threats and attacks (see [SAML2Sec]), the lack of conditions on such assertions introduces additional serious threats to consider.
Ordinarily, the threat of a stolen assertion is mitigated by the fact that it can only be used to authenticate to a particular Relying Party. Without conditions on use, an attacker that successfully steals such an assertion has many more targets of opportunity. Essentially, the ability to mount an attack against a user's interactions with any single Relying Party become effective against all parties that are willing to accept such an assertion. Consider that some low value services may choose to forgo the use of TLS/SSL, leaving the assertions issued for their use much more vulnerable to theft. A successful attacker can then impersonate the intended user even with Relying Parties that choose to deploy such protection, rendering their investment moot.
Perhaps more seriously, Relying Parties that choose to accept such assertions are in turn empowered with the opportunity to impersonate the user for the duration of the subject confirmation window with any other like-minded Relying Parties. This threat looms larger when one considers that a compromised Relying Party could expose all its users to this risk if an attacker can tap the flow of incoming assertions. With traditional constraints in place, this threat is mitigated by the fact that a compromise, while potentially exposing user data, does not extend beyond the scope of access to the affected Relying Party.
Note that one of the only mitigating mechanisms to these threats are to enforce restrictions on use of assertions based on an IP address placed into the assertion by the Identity Provider. While moderately effective, this practice often proves impractical for services offered to large user populations, many of whom are likely to encounter proxies and network configurations that result in inability to satisfy the restriction.
As a result, this profile recommends against the use of unconstrained bearer assertions as a general matter, and urges implementations to provide deployers with the ability to control this behavior. The privacy advantages of such a model need to be carefully weighed against the risks to users and Relying Parties.
Identity Providers should generally make every attempt to encrypt the assertions they produce if a key for the Relying Party can be established. If encryption is not used, then the Identity Provider should be aware of the potential for exposure of the assertion's contents, both to the requester and potentially to network observers if TLS/SSL is not used (particularly between the requester and the eventual Relying Party).
Caution, however, should be exercised in relying solely on the TLS/SSL certificate found at a Relying Party's endpoint to identify the key. In particular, the key has to be authenticated in order to ensure that it actually belongs to the eventual endpoint used by the client. Furthermore, there can be no guarantee that the software responsible for decrypting the security token will have access to the corresponding private key.
In this example, a Relying Party asks for two required claims, an email address and a displayable name. These are standard, well-known LDAP/X.500 attributes with a standard representation in SAML.
Given the following OBJECT syntax:
<OBJECT type="application/x-informationCard" name="xmlToken">
<PARAM Name="tokenType"
Value="http://docs.oasis-open.org/imi/ns/token/saml2/200908">
<PARAM Name="issuer" Value="https://idp.example.org/entity">
<PARAM Name="requiredClaims"
Value="urn:oid:0.9.2342.19200300.100.1.3 urn:oid:2.16.840.1.113730.3.1.241">
</OBJECT>
the following assertion could be issued:
<Assertion xmlns="urn:oasis:names:tc:SAML:2.0:assertion"
ID="_a75adf55-01d7-40cc-929f-dbd8372ebdfc"
IssueInstant="2009-04-17T00:46:02Z" Version="2.0">
<Issuer>https://idp.example.org/entity</Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
...
</ds:Signature>
<Subject>
<SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<SubjectConfirmationData Address="192.168.1.1"
NotOnOrAfter="2009-04-17T00:51:02Z" />
</SubjectConfirmation>
</Subject>
<Conditions
NotBefore="2009-04-17T00:46:02Z" NotOnOrAfter="2009-04-17T01:51:02Z">
<AudienceRestriction>
<Audience>https://puppies.com/entity</Audience>
</AudienceRestriction>
</Conditions>
<AuthnStatement AuthnInstant="2009-04-17T00:46:00Z">
<AuthnContext>
<AuthnContextClassRef>
urn:oasis:names:tc:SAML:2.0:ac:classes:Password
</AuthnContextClassRef>
</AuthnContext>
</AuthnStatement>
<AttributeStatement>
<Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
Name="urn:oid:0.9.2342.19200300.100.1.3" FriendlyName="mail">
<AttributeValue>jdoe@example.org</AttributeValue>
</Attribute>
<Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
Name="urn:oid:2.16.840.1.113730.3.1.241" FriendlyName="displayName">
<AttributeValue>John Doe</AttributeValue>
</Attribute>
</AttributeStatement>
</Assertion>
In this example, a Relying Party asks for a single claim using a name that is recognized by the Identity Provider as a SAML name identifier format. Any claim name could be interpreted in this fashion since the taxonomy of such formats is extensible, but it is expected that deployments making use of SAML name identifiers would already agree on appropriate use of them.
Given the following OBJECT syntax:
<OBJECT type="application/x-informationCard" name="xmlToken">
<PARAM Name="tokenType"
Value="http://docs.oasis-open.org/imi/ns/token/saml2/200908">
<PARAM Name="issuer" Value="https://idp.example.org/entity">
<PARAM Name="requiredClaims"
Value="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">
</OBJECT>
the following assertion could be issued:
<Assertion xmlns="urn:oasis:names:tc:SAML:2.0:assertion"
ID="_a75adf55-01d7-40cc-929f-dbd8372ebdfc"
IssueInstant="2009-04-17T00:46:02Z" Version="2.0">
<Issuer>https://idp.example.org/entity</Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
...
</ds:Signature>
<Subject>
<NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
NameQualifier="https://idp.example.org/entity"
SPNameQualifier="https://puppies.com/entity">
rfhyfeefod893434923gqwdmtgr9090f
</NameID>
<SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<SubjectConfirmationData Address="192.168.1.1"
NotOnOrAfter="2009-04-17T00:51:02Z" />
</SubjectConfirmation>
</Subject>
<Conditions
NotBefore="2009-04-17T00:46:02Z" NotOnOrAfter="2009-04-17T01:51:02Z">
<AudienceRestriction>
<Audience>https://puppies.com/entity</Audience>
</AudienceRestriction>
</Conditions>
<AuthnStatement AuthnInstant="2009-04-17T00:46:00Z">
<AuthnContext>
<AuthnContextClassRef>
urn:oasis:names:tc:SAML:2.0:ac:classes:Password
</AuthnContextClassRef>
</AuthnContext>
</AuthnStatement>
</Assertion>
An Identity Provider implementation conforms to this profile if it can produce assertions consistent with the normative text in Section 2.3.
A Relying Party implementation conforms to this profile if it can accept assertions consistent with the normative text of Section 2.4.
Use of SAML V2.0 metadata [SAML2Meta] per Section 2.5 is OPTIONAL.
The editors would like to acknowledge the contributions of the OASIS Identity Metasystem Interoperability Technical Committee, whose voting members at the time of publication were:
Participants:
John Bradley, Individual
Scott Cantor, Internet2
Marc Goodner, Microsoft (Chair)
Michael B. Jones, Microsoft (Editor)
Dale Olds, Novell
Anthony Nadalin, Microsoft (Chair)
Drummond Reed, Cordance
The editors would also like to acknowledge the following contributors:
Revision |
Date |
Editor |
Changes Made |
cd-03 |
7 July 2010 |
Michael B. Jones |
Committee draft for promotion to committee specification. |
ed-07 |
10 June 2010 |
Michael B. Jones |
Incorporate feedback from public review. Changes made are non-normative. They address issue IMI-36: “Examples in sections 2.7.1 and 2.7.2 are incorrect” and keep the references between the SAML 1.1 and SAML 2.0 profiles in sync. |
cd-02 |
31 March 2010 |
Michael B. Jones |
Committee draft for public review. |
ed-06 |
2 February 2010 |
Michael B. Jones |
Typographic corrections. |
ed-05 |
1 February 2010 |
Michael B. Jones |
Consistency pass relative to other IMI TC documents. Made internal references hyperlinks. |
ed-04 |
16 December 2009 |
Scott Cantor |
Resolutions to issues IMI-26 and IMI-27. |
cd-01 |
6 December 2009 |
Scott Cantor |
Committee Draft 01, CD edits. |
ed-03 |
16 November 2009 |
Scott Cantor |
Legacy token type language added. |
ed-02 |
27 October 2009 |
Scott Cantor |
Revised based on IMI TC feedback and to correct for spec formatting issues. |
ed-01 |
19 August 2009 |
Scott Cantor |
Revised from Draft 02 of the SSTC-submitted version of this profile. |