Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 2.88 KB

ProvideXAssertion.md

File metadata and controls

54 lines (42 loc) · 2.88 KB

Provide X-User Assertion

Method to provide a SAML 2.0 assertion in the Web Service Security header to authorize transactions. Primary systems shall use this transaction to provide a SAML Assertion to authorize transactions.

Overview

Primary systems shall use this transaction to provide SAML 2 assertions retrieved by the Get X-User Assertion with XDS.b transactions as defined in the IHE XUA profile with Swiss specific extensions defined in
Amendment 1 to Annex 5.

Transaction

This transaction is not used standalone and shall be used in conjunction with other transactions which require authorization. These are:

Message Semantics

Primary systems shall use a Get X-User Assertion transaction to retrieve XUA SAML Assertion for authorization, before performing transactions which require authorization. The XUA SAML Assertion for authorization shall be added to the Security header of the SOAP envelope used for the transaction, which requires authorization.

The following snippet shows an abbreviated example message with a SAML Assertion:

1 <?xml version="1.0" encoding="UTF-8"?>
2 <Envelope xmlns=" !-- namespaces omitted -- ">
3  <Header>
4    <To soapenv:mustUnderstand="1"> <!-- id of transaction used in conjunction --></wsa:To>
5    <MessageID soapenv:mustUnderstand="1">urn:uuid:31D7E4B5-C117-481E-9EE1-F32849E81BF8</wsa:MessageID>
6    <Action soapenv:mustUnderstand="1">urn:ihe:iti:2007:RegistryStoredQuery</wsa:Action>
7    <Security>
8      <saml2:Assertion>
9			  <!-- assertion content omitted for brevity -->
10      </saml2:Assertion>
11    <Security>
12  </Header>
13  <Body>
14   <!-- body elements of transaction used in conjunction omitted for brevity -->
15  <Body>
16 </soapenv:Envelope>    

For the details on the Assertion content, please see the step by step example in Get X-User Assertion .

Audit Log

This transaction does not require separate ATNA audit log messages, but adds requirements to the transactions used with, as described in section 1.6.4.3.5 of Amendment 1 to Annex 5.

Test Opportunity

The transaction can be tested with the test suite of the EPR reference environment or test systems of the EPR communities.