Difference between revisions of "Cross-Enterprise User Assertion (XUA) Profile"

From IHE Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
==Open Issue Log==
 
==Open Issue Log==
  
; XUA001 : In first year there are no required mandatory communications of Attributes. This includes any form of functional or structural role. The main reason is the lack of a globally accepted vocabulary, mechanisms to rationalize with local RBAC infrastructures, and an unclear set of use-cases that can be used to properly architect. It is noted that an Affinity Domain can choose to add attributes.
+
; XUA001 : In first year there are no required mandatory communications of Attributes. This includes any form of functional or structural role. The main reason is the lack of a globally accepted vocabulary, mechanisms to rationalize with local Role-Based Access Control (RBAC) infrastructures, and an unclear set of use-cases that can be used to properly architect. It is noted that an Affinity Domain can choose to add attributes.
; XUA002 : Support for XCA is out-of-scope.  User using an Initiating Community-Gateway needs to provide a user assertion that can be utilized by the Receiving Community-Gateway. Where the Cross-Community-Gateway needs to act-on-behalf of the requester, this will require that the Assertions can be re-purposed (delegation) for the next Gateway or Reg
+
; XUA002 : Support for XCA is out-of-scope.  User using an Initiating Community-Gateway needs to provide a user assertion that can be utilized by the Receiving Community-Gateway. Where the Cross-Community-Gateway needs to act-on-behalf of the requester, this will require that the Assertions can be re-purposed (delegation) for the next Gateway or Registry
 
; XUA003 : Mentions of infrastructural failure is out of scope, as IHE only defines the interface.  
 
; XUA003 : Mentions of infrastructural failure is out of scope, as IHE only defines the interface.  
 
; XUA004 : Break-glass is out of scope. E.g. Doctor in an emergency situation request to retrieve documents that would under normal conditions would not be accessible because the privacy consent (BPPC) has restricted access. BPPC enforcement should be done on the edge system where current context can be applied to the BPPC policy and if the BPPC policy allows for break-glass this can be done on the edge system.
 
; XUA004 : Break-glass is out of scope. E.g. Doctor in an emergency situation request to retrieve documents that would under normal conditions would not be accessible because the privacy consent (BPPC) has restricted access. BPPC enforcement should be done on the edge system where current context can be applied to the BPPC policy and if the BPPC policy allows for break-glass this can be done on the edge system.

Revision as of 17:23, 24 July 2007


Introduction

This is a draft of the Cross-Enterprise User Assertion Profile (XUA) supplement to the ITI Technical Framework. This draft is a work in progress, not the official supplement or profile. The official versions for Public Comment is published in PDF form to assure that public comments received are easily located.

Public Comment Version: ftp://ftp.ihe.net/IT_Infrastructure/iheitiyr5-2007-2008/Technical_Cmte/PublicCommentSupplements/FinalWordVersions/IHE-ITI-XUA-Profile-20070601.doc

Profile Abstract

The Cross-Enterprise User Assertion Profile (XUA) provides a means to communicate claims about the identity of an authenticated principal (user, application, system...) in transactions that cross enterprise boundaries. To provide accountability in these cross enterprise transactions there is a need to identify the requesting user in a way that the receiver can make access decisions and proper audit entries. The XUA Profile supports enterprises that have chosen to have their own user directory with their own unique method of authenticating the users, and others that may have chosen to use a third party to perform the authentication.

Open Issue Log

XUA001
In first year there are no required mandatory communications of Attributes. This includes any form of functional or structural role. The main reason is the lack of a globally accepted vocabulary, mechanisms to rationalize with local Role-Based Access Control (RBAC) infrastructures, and an unclear set of use-cases that can be used to properly architect. It is noted that an Affinity Domain can choose to add attributes.
XUA002
Support for XCA is out-of-scope. User using an Initiating Community-Gateway needs to provide a user assertion that can be utilized by the Receiving Community-Gateway. Where the Cross-Community-Gateway needs to act-on-behalf of the requester, this will require that the Assertions can be re-purposed (delegation) for the next Gateway or Registry
XUA003
Mentions of infrastructural failure is out of scope, as IHE only defines the interface.
XUA004
Break-glass is out of scope. E.g. Doctor in an emergency situation request to retrieve documents that would under normal conditions would not be accessible because the privacy consent (BPPC) has restricted access. BPPC enforcement should be done on the edge system where current context can be applied to the BPPC policy and if the BPPC policy allows for break-glass this can be done on the edge system.
XUA005
XUA does not specify how the X-Service User obtains the Assertion. XUA does not specify how the X-Service Provider would obtain attributes not included in the Assertion provided. These operations are specific to environments and is well profiled by other organizations (OASIS, Liberty Alliance, etc)


For further discussion and Close Issues See the discussion on the IHE Wiki http://wiki.ihe.net/index.php?title=Cross-Enterprise_User_Assertion_-_Discussion

Glossary

Add the following items to the Glossary 
XUA
Cross-Enterprise User Assertion (Formerly Cross-Enterprise User Authentication)
User Assertion
a set of claims about an authenticated principal (user, application, system...) that is issued by a trusted identity provider
Principal
An end user, an application, a machine, or any other type of entity that may act as a requester in a transaction. A principal is typically represented in a transaction with a digital identity and the principal may have multiple valid digital identities to use with different transactions -- (modified from Source WS-Federation)
X-Assertion Provider
This is a SAML Identity Provider (IDP) or WS-Trust Security Token Service (STS), and is not further specified by IHE.

Volume I

Add the following bullet to the list of profiles in section 1.7 
  • The Cross-Enterprise User Assertion Profile (XUA) - provides a means to communicate claims about an authenticated principal (user, application, system...) in transactions that cross enterprise boundaries. To provide accountability in these cross enterprise transactions there is a need to identify the requesting user in a way that the receiver can make access decisions and proper audit entries. The XUA Profile supports enterprises that have chosen to have their own user directory with their own unique method of authenticating the users, and others that may have chosen to use a third party to perform the authentication.

Dependencies

Add the following row(s) to the list of dependencies in section 2.1
Integration Profile Dependency Dependency Type Purpose
Cross-Enterprise User Assertion None None
Add the following section to the section 2.2

2.2.n Cross-Enterprise User Assertion (XUA)

Cross-Enterprise User Assertion (XUA) provides a means to communicate claims about an authenticated principal (user, application, system...) in transactions that cross enterprise boundaries. To provide accountability in these cross enterprise transactions there is a need to identify the requesting user in a way that the receiver can make access decisions and proper audit entries. The XUA Profile supports enterprises that have chosen to have their own user directory with their own unique method of authenticating the users, and others that may have chosen to use a third party to perform the authentication.


Add the following section to Vol 1

X Cross-Enterprise User Assertion (XUA) Integration Profile

The Cross-Enterprise User Assertion Profile (XUA) provides a means to communicate claims about an authenticated principal (user, application, system...) in transactions that cross enterprise boundaries. To provide accountability in these cross enterprise transactions there is a need to identify the requesting user in a way that the receiver can make access decisions and proper audit entries. The XUA Profile supports enterprises that have chosen to have their own user directory with their own unique method of authenticating the users, and others that may have chosen to use a third party to perform the authentication.

There are transactions defined by IHE that cross enterprise boundaries. The existing IHE profiles for an authenticated user identity (EUA) will not function in cross-enterprise transactions. In a cross-enterprise environment it is more likely that the transactions will be going between two enterprises that maintain their own independent user directories (PWP). This type of requirement is the focus of the Identity Federation standards. Identity Federation has received much attention by the security and the platforms industry. Identity Federation is agnostic to the type of user directory, it allows for a centralized user directory, but also supports the more powerful federation of user directories. Identity Federation also supports many methods of user authentication (password, biometrics, smartcard) and can include details about the method(s) used.

The XUA Profile leverages Web-Services Security, SAML 2.0 Token Profile and the various profiles from W3C, OASIS, and WS-I to support identity federation. In this way we will be able to take advantage of the vast experience of the communities outside of healthcare standards. This profile will be leveraging the experience of a few programs around the globe that have started work with SAML in healthcare. Most of these projects are applying SAML to XDS as we expect to be doing in the first year.

X.1 Use Cases

This profile will likely take two years. In the first year we will be focusing only on XDS.b Registry Stored Query and Retrieve Document Set transactions. The motivator for this is that these are the most exposed transactions that IHE has defined; their use is expected to be from a wide variety of consuming applications and enterprises; and they utilize modern Web-Services standards.

The XUA profile supports complex environments such as: where at least two different trust domains that are operating under different technology, procedures, role-models, etc. They are cooperating in the XDS Affinity domain under an overarching trust relationship policy that indicates that these differences can be rationalized. The XDS transactions are transferring access control from one entity to another. For example, using XDS to exchange data between a single doctor practice, and large multi-site hospital. It is not likely that they will all agree to the same access control model. It is not necessary to have the same access control across these entities, but it is reasonable that at the policy level they will agree to a set of processing rules. This illustrates an important fact that the XUA is useful for security audit logging, but is to a lesser extent useful for access controls.

The following is an inclusive list of use-cases that have been proposed for XUA. In the first year some of these use-cases will not be supported due to lack of standards or sufficient guidance on the proper solution.

  1. Country that provisions users into a single assigning authority domain (e.g., Germany) and handles all user authentication requests
    • Support for centralized user directories
  2. Region that knits together many competing hospitals and clinics where each hospital/clinic manages their own users.
    • Support for distributed user directories
  3. Patient that wishes to use their ISP as their authentication authority uses a PHR like application to access their own information in XDS.
    • Support for non-healthcare specific user directories
  4. Hospital issues identity badges with picture and name printed, RFID for building access, and smart-card for strong authentication
    • Support for claims about the method used to authenticate the user (e.g. strong authentication methods such as smart-cards)
  5. Small clinic in a rural setting supports a dozen users.
    • Support for small scale systems (e.g., user at a kiosk, system using simple passwords)
  6. General practice doctor retrieving results of a test performed by an outpatient clinic, where the outpatient clinic wants to have an audit trail specific to the user requesting.
    • Support for the service provider to get a user identity for audit log purposes
  7. System, based on a scheduled procedure, pre-fetches the available documents so that it can determine a relevant few documents to offer to the doctor when the patient arrives.
    • Support for identifying the user as the system for tasks that are not initiated by a human user
  8. User using Registry or Repository where the service provider wants to be assured that the user has been authenticated to a specific assurance level. This is not a case of not trusting the system, but recognition that the requester supports different levels of authentication. For example the system supports a proximity card as a form of authentication, as well as Smart-Card with PIN. This is not a replacement for ATNA access controls which give distributed access controls.
    • User Identity with level of assurance of that identity is needed.
  9. Specialized XDS for Emergency Dataset. In this case the transfer of information to the XDS Consumer is not critical to fully control, and thus the administration is willing to accept requests from any system as long as they can provide a user-assertion from a trusted source. This trusted-source may be a specialized identity provider for First Responders. (See RSA Pilot)
    • In this case only a user identity with proper linkage to a trusted identity provider is needed. No specific attributes are needed.
  10. User acting in an identified clinical role accesses the Registry where the Registry wants to know the user identity and the role they are acting in to record the identity and role in the audit log.
    • Support inclusion of functional roles as named vocabulary
    • The Role of the user as the data subject (patient)
  11. Service provider wants to enforce some form of access controls based on the user identity and/or functional role.
    • Support for the service provider to augment access controls based on some non-specified rules that are applied to the user and/or functional role
  12. Access of a document by an individual that can’t be identified because the Assertion Provider is not accessible

X.2 XUA Development

The vast majority of the use-case (items 1-11) rely on claims about an authenticated identity, which a SAML 2.0 Identity Assertion can provide. This is a mature standard produced by OASIS. For our first year we have focused on XDS.b Document Consumer two transactions that utilize Web-Services. XUA specifies that when a Cross-Enterprise User Assertion is needed that these Web-Services transactions will additionally use the Web-Services Security header with a SAML 2.0 Token containing the identity Assertion. As with any IHE profile, the applications are not forbidden to use other methods of providing the user (principal) identity, providing that interoperability has been assured through some policy.

A very clear need on all the use-cases is the recording of the user identity in any security audit logs. The XUA profile does not define these auditable events. The need to record a security audit event is driven by the grouped transactions (i.e., XDS.b Registry Stored Query, and XDS.b Retrieve Document Set). XUA does specify how to reference the Identity Assertion in an ATNA Audit Message.

The method of authenticating the user (principal) and the method that the XDS-Consumer uses to get the Identity Assertion is outside the scope of this profile.

There are user (principal) attributes that appear to be needed in the use-cases: Doctor, Patient, Guardian, Emergency-Access. The Identity Assertion can contain attributes about the user (principal). At this time it is not clear what standards to use to identify these attributes and their values, so this is left to specific implementations that have defined a local vocabulary or vocabulary translation.

The method used by the XDS.b Document Consumer to determine the contents of the Identity Assertion is outside the scope of this profile. This can be accomplished using the SAML Metadata and WS-Policy.

It is expected that extending this solution to HL7 and DICOM will be supported in the future.

X.4 Actors/Transaction

Figure X.4-1 shows the actors directly (Bold and Solid Boxes) involved in the XUA Integration Profile and the relevant transactions between them (Bold and Solid Line). The diagram shows ancillary actors (Dashed and Grey Boxes) that are not profiled but include interactions (Dashed and Grey Boxes). The two XDS.b Document Consumer transactions supported are shown as the dashed line between the X-Service User and the X-Service Provider.

Figure X.4-1 Cross-Enterprise User Assertion Actor Diagram

Table X.4-1 lists the transactions for each actor directly involved in the XUA Profile. In order to claim support of this Integration Profile, an implementation must perform the required transactions (labeled “R”). Transactions labeled “O” are optional. A complete list of options defined by this Integration Profile and that implementations may choose to support is listed in Volume I, Section X.5.

Actor Transaction Optionality Section
Table X.4-1 Cross-Enterprise User Assertion Actors and Transactions
X-Service User Provide X-User Assertion R ITI-A
X-Service Provider Provide X-User Assertion R ITI-A

X.5 Options

Options that may be selected for this Integration Profile are listed in the table X.5-1 along with the Actors to which they apply. Dependencies between options when applicable are specified in notes.

Actor Option Section
Table X.5-1 Cross-Enterprise User Assertion Options
X-Service User None
X-Service Provider None

X.6 Grouping

X.6.1 Audit Trail and Node Authentication (ATNA)

In XUA scope for this year (XDS.b Document Consumer Actor), there is already an inherited requirement to group with ATNA. This grouping is leveraged to support transaction protections.

Volume 2 includes encoding rules for representing an X-User Assertion in an ATNA Audit Message.

X.6.2 Cross-Enterprise Document Sharing (XDS)

For the first year, XUA is scoped to specifically the XDS.b Registry Stored Query and Retrieve Document Set transactions. The XUA profile supports this grouping with the XDS.b Document Consumer, XDS.b Document Registry, and XDS.b Document Repository.

When an XDS.b Document Consumer is grouped with X-Service User Actor, the XDS.b Document Consumer must conform to all the requirements in the Provide X-User Assertion Transaction. The Document Consumer will obtain a properly scoped XUA Assertion targeted for the XDS.b Document Registry or XDS.b Document Repository. The method used may be through internal means, SAML 2.0 Core protocols, WS-Trust, or any other means.

The XDS.b Document Registry and XDS.b Document Repository when grouped with the XUA X-Service User Actor must conform to all the requirements in the Provide X-User Assertion Transaction. The XUA Profile does not constrain how the Assertion can be used (e.g. ignored, recorded in audit, etc).

X.6.3 Enterprise User Authentication (EUA)

An application that groups EUA and XUA may use WS-Trust to get the X-User Assertion from the Security Token Service (STS) from a Kerberos Service Token. This operation is documented in the WS-Trust standards.

X.7 Process Flow

Figure X.6-1 Cross-Enterprise User Assertion Process Flow

In the above flow we are showing more actors than are specified in this profile. This is a diagram showing a possible grouping with EUA (User Authentication Provider), PWP (User Directory Provider), and a SAML Identity Provider (X-Assertion Provider). The User Authentication Provider, User Directory Provider and X-Assertion Provider are not profiled here, but rather are shown to give a context to the XUA transactions.

In this figure the dark lines represent the X-User Assertion transaction. The dashed lines represent other standards based transactions that may be used. Web-Services session A and B show an example where one X-User Assertion is used to cover two Web-Services transactions. Where Web-Services Session C is using a different X-User Assertion. This may be due to a different user, timeout of the previous X-User Assertion, or some other reason.

X.8 Actor Definitions

Add the following Actor Summary Definitions in Appendix A 
X-Service User
System making a services request of an X-Service Provider.
X-Service Provider
System providing a service that needs a X-User Assertion.

X.9 Transaction Definitions

Add the following Transaction Summary Definitions in Appendix B 
Provide X-User Assertion
This transaction provides a trustable user assertion from the service user to the service provider

X.10 Security Considerations

The security risk assessment for XUA enumerates assets, threats, and mitigations. The security risk assessment for the transaction that is grouped (e.g. Registry Stored Query and Retrieve Document Set) with XUA is out of scope of the XUA profile, please look at those transactions for the Security Considerations. The complete risk data are stored and available from IHE. The purpose of this risk assessment is to notify vendors and healthcare providers of some of the risks that they are advised to consider in implementing XUA Actors. For general IHE risks and threats, please see Vol 1 appendix L. The vendor is also advised that many risks can not be mitigated by the IHE profile and instead responsibility for mitigation is transferred to the vendor, and occasionally to the affinity domains, individual enterprises and implementers. In these instances, IHE fulfills its responsibility to notify affected parties through the use of the following sections.

X.10.1 Recommendations

The current uses of the XUA profile is scoped to XDS.b Registry Stored Query and Retrieve Document Set. These grouped transactions already require the grouping with ATNA and CT. ATNA provides for channel protection against risks to confidentiality, integrity and authenticity. The applications implementing the X-Service User and X-Service Provider need to process and handle the XUA Identity Assertion carefully to protect the Assertion against threats to confidentiality, integrity and authenticity.

Volume II

Add the following Transaction to Volume II 

3.Y Provide X-User Assertion

This section corresponds to Transaction ITI-XXX of the IHE IT Infrastructure Technical Framework.

3.Y.1 Scope

Transaction ITI-XXX is used by the X-Service User to pass a trustable identity assertion to the X-Service Provider. The X-Service User and X-Service Provider use the 'X-Assertion Provider' as the trusted third party issuer of the trustable identity assertion.

3.Y.2 Use Case Roles

XUA UseCaseRoles 02.jpg
Actor
X-Service User
Role
User of a transaction that requires a Cross-Enterprise User Assertion
Actor
X-Service Provider
Role
Service provider on a transaction that requires a Cross-Enterprise User Assertion

3.Y.3 Referenced Standards

3.Y.3.1 Normative -- required to use this profile

3.Y.3.1 Informative -- assist with understanding or implementing this profile

3.Y.4 Interaction Diagram

Figure X.1-1 X-User Assertion Messages

3.Y.4.1 X-User Assertion

The X-User Assertion is profiled to assure interoperability between a X-Service User and an X-Service Provider that need an Assertion about the entity requesting the service. There are many ways to provide an Assertion that are all acceptable and may be used by parties that have agreed to their use.

The X-User Assertion transaction sets some minimal interoperability profiling for this use-case. The X-User Assertion transaction shall be used when there is no other agreed upon policy that would assure User Assertion interoperability (e.g. WS-SecurityPolicy).

The X-User Assertion is specified for the XDS.b Registry Stored Query and XDS.b Retrieve Document Set transactions. Use beyond these two transactions is possible but not specified.

3.Y.4.1.1 Trigger

Configuration of the X-Service Provider and X-Service User indicates when the X-User Assertion transaction is necessary.

3.Y.4.1.2 Message Semantics

The X-User Assertion must be protected at all times against confidentiality exposure, malicious modification, and trust relationship between those communicating it. The XDS.b Transactions that we are supporting in XUA already require ATNA and thus TLS Mutual-Authentication, Integrity, and Confidentiality.

The X-Service User shall include the OASIS Web Services Security (WSS) Header, and shall include a SAML 2.0 Assertion as the security token.

Any ATNA Audit Messages that the X-Service User records in relationship to a transaction protected by the XUA (i.e., XDS.b Registry Stored Query, and XDS.b Retrieve Document Set), shall have the user identity recorded according to the XUA ATNA encoding rules (See 3.Y.4.2 ATNA Audit encoding). This assures that the X-Service User and X-Service Provider ATNA Audit messages can be correlated at the ATNA Audit Repository.

The SAML 2.0 Assertion is profiled as follows (bold is used when SAML 2.0 terms are used):

  • The Assertion shall contain a Subject. The Subject contains the logical identifier of the principal performing the original service request (person, application, etc.) and remains unchanged through operations acting on the assertion (e.g. proxying the Assertion).
    • The Subject shall contain a SubjectConfirmation element. The bearer confirmation method shall be supported, the holder-of-key method may be supported. These methods are defined in the SAML 2.0 Profile specification, section 3.
  • The SAML Assertion Conditions are profiled as:
    • NotBefore shall be populated with the issue instant of the Assertion
    • NotOnOrAfter is not specified by XUA because reasonable time limits are not clear at the IHE Profile level. The Expiration shall be configurable on an Affinity Domain and/or System level.
    • The assertion shall contain an AudienceRestriction containing an Audience whose value is a URI identifying the relying party (e.g. XDS Registry, XDS Repository). It may contain an Audience whose value is a URI identifying the Affinity Domain.
    • The Assertion may contain ProxyRestriction and OneTimeUser conditions but XUA actors may ignore these conditions.
  • The Assertion shall contain a AuthnStatement specify the AuthnContextClassRef or AuthnContextDeclRef
  • The Assertion may contain other statements (e.g. Attributes)
  • The Assertion shall be signed by the X-Assertion Provider

The interface between the X-Service User and the X-Assertion Provider is not specified by XUA. This interface needs to protect against risks (e.g. exposure of the SAML Token to interception for malicious use). Assertions need to be carefully managed inside the X-Service User to ensure they are not exposed in the application code or any subsequent use of the Assertion.

3.Y.4.1.3 Expected Actions

The X-Service Provider shall validate the Identity Assertion by processing the Web-Services Security header in accordance to the Web-Services Security Standard, and SAML 2.0 Standard processing rules. If this validation fails, then the grouped transaction shall be treated as an unauthorized user (e.g., Registry Stored Query and Retrieve Document Set).

Any ATNA Audit Messages that the X-Service Provider records in relationship to a transaction protected by the XUA (i.e., XDS.b Registry Stored Query, and XDS.b Retrieve Document Set), shall have the user identity recorded according to the XUA ATNA encoding rules (See 3.Y.4.2 ATNA Audit encoding). This assures that the X-Service User and X-Service Provider ATNA Audit messages can be correlated at the ATNA Audit Repository.

The X-Service Provider may use standards transactions to communicate with the X-Assertion Provider (e.g., WS-Trust, SAML 2.0 Protocol) to obtain information not included in the assertion provided (e.g. Attributes that might be related to structural roles).

The X-Service Provider may utilize the identity in access control decisions. Appropriate error messages, not defined here, shall be returned. The X-Service Provider may ignore any other statements (e.g. Attributes), may ignore the one-time-use-condition

The X-Service Provider may use the authentication class references to determine the method that was used to authenticate the user. For example the X-Service Provider may have a configurable list of authentication class references that it is willing to recognize as authentication methods that are acceptable. Thus treating other authentication class references as not authorized.

Assertions need to be carefully managed inside the X-Service Provider to ensure they are not exposed in the application code or any subsequent use of the Assertion.

3.Y.4.2 ATNA Audit encoding

When an ATNA Audit message needs to be generated and the user is authenticated by way of an X-User Assertion, the ATNA Audit message UserName element shall record the X-User Assertion using the following encoding:

alias<user@issuer>

where:

  • alias is the optional string within the SAML Assertion's Subject element SPProvidedID attribute
  • user is the required content of the SAML Assertion's Subject element
  • issuer is the X-Assertion Provider entity ID contained with the content of SAML Assertion's Issuer element