ABFAB | M. Jones |
Internet-Draft | Bridgewater Systems |
Intended status: Informational | H. Tschofenig |
Expires: September 11, 2012 | Nokia Siemens Networks |
March 12, 2012 |
The Diameter 'Application Bridging for Federated Access Beyond Web (ABFAB)' Application
draft-jones-diameter-abfab-01.txt
The Application Bridging for Federated Access Beyond Web (ABFAB) architecture provides cross-domain authentication, authorization and accounting functionality by utilizing well-established technologies, such as Diameter, the Extensible Authentication Protocol (EAP), and the Generic Security Services API (GSS-API).
This document defines a Diameter application for usage with the ABFAB architecture to convey authentication information, and authorization decisions from the Diameter server (acting as the identity provider) to the Diameter client (acting as a relying party) encoded in a Security Assertion Markup Language (SAML) encoding.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 11, 2012.
Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
The Application Bridging for Federated Access Beyond Web (ABFAB) architecture [I-D.ietf-abfab-arch] provides cross-domain authentication, authorization and accounting functionality by utilizing well-established technologies, such as Diameter, the Extensible Authentication Protocol (EAP), and the Generic Security Services API (GSS-API).
The steps taken generally in an ABFAB federated authentication/authorization exchange are as follows:
+--------------+ | AAA Server | | (Identity | | Provider) | +-^----------^-+ * EAP | RADIUS/ * | Diameter --v----------v-- /// \\\ // \\ *** | Federation | back- | | end \\ // *** \\\ /// --^----------^-- * EAP | RADIUS/ Application * | Diameter +-------------+ Data +-v----------v--+ | |<---------------->| | | Client | EAP/EAP Method | Server Side | | Application |<****************>| Application | | @ End Host | GSS-API |(Relying Party)| | |<---------------->| | | | Application | | | | Protocol | | | |<================>| | +-------------+ +---------------+ *** front-end *** Legend: <****>: End-to-end exchange <---->: Hop-by-hop exchange <====>: Protocol through which GSS-API/GS2 exchanges are tunnelled
The involved entities are shown in Figure 1.
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 [RFC2119].
This document uses terminology defined [I-D.ietf-abfab-arch].
This specification defines a new Diameter application and the respective Application Identifier:
Diameter ABFAB (ABFAB) [[TBD by IANA]]
The Diameter ABFAB related accounting information generated by the Diameter client uses the ABFAB Application Identifier in the case of coupled accounting model. The Diameter Base Accounting Application Identifier (value of 3) is used in case of the split accounting model. Refer to Section 4.2 for more information regarding the accounting models.
Relying Party Client App IdP | (1) | Client App gets NAI (somehow) | | | |<-----(2)----->| | Mechanism Selection | | | |<-----(3)-----<| | NAI transmitted to RP | | | |<=====(4)====================>| Discovery | | | |>=====(5)====================>| Access request from RP to IdP | | | | |< - - (6) - -<| EAP method to Principal | | | | |< - - (7) - ->| EAP Exchange to authenticate | | | Principal | | | | | (8 & 9) Local Policy Check | | | |<====(10)====================<| IdP Assertion to RP | | | | | | (11) RP Processes results. | | | |>----(12)----->| | Results to client app. ----- = Between Client App and RP ===== = Between RP and IdP - - - = Between Client App and IdP
The Diameter server may maintain state or may be stateless. This is indicated in the Auth-Session-State AVP (or its absence). The Diameter client MUST support the Authorization Session State Machine defined in [RFC3588].
The Session-Termination-Request (STR) message [RFC3588] is sent by the Diameter client to inform the Diameter server that an authorized session is being terminated.
The Session-Termination-Answer (STA) message [RFC3588] is sent by the Diameter server to acknowledge the notification that the session has been terminated.
The Abort-Session-Request (ASR) message [RFC3588] is sent by the Diameter server to the Diameter client to terminate the authorized session. When the Diameter client receives the ASR message, it MUST take further actions to terminate the established application context.
The Abort-Session-Answer (ASA) message [RFC3588] is sent by the Home Agent in response to an ASR message.
The Diameter client collects accounting records needed for service control and charging MUST support the accounting procedures and the Accounting Session State Machine as defined in [RFC3588].
The Diameter application design guideline [I-D.ietf-dime-app-design-guide] defines two separate models for accounting:
As mentioned above, the preferred choice is to use the split accounting model and thus to choose Diameter Base Accounting Application Identifier (value of 3) for accounting messages.
The Accounting-Request command [RFC3588] is sent by the Diameter client to the Diameter server to exchange accounting information.
The Accounting-Answer command [RFC3588] is sent by the Diameter server to the Diameter client to acknowledge an Accounting-Request.
The Diameter ABFAB application defined in this document reuses the Diameter EAP application [RFC4072] commands: Diameter-EAP-Request (DER) and Diameter-EAP-Answer (DEA). This specification extends the existing DER and DEA command ABNFs to offer the necessary ABFAB functionality. Other than new additional AVPs and the corresponding additions to the command ABNFs, the Diameter EAP application command ABNFs remain unchanged. The ABNF language is defined in [RFC3588].
Command-Name Abbrev. Code Reference --------------------------------------------- Diameter-EAP-Request DER 268 RFC 4072 Diameter-EAP-Answer DEA 268 RFC 4072
The Diameter-EAP-Request (DER) message, indicated by the Command-Code field set to 268 and the 'R' bit set in the Command Flags field, is sent by the Diameter client to the Diameter server to initiate a Diameter ABFAB authentication and authorization procedure. The Application-ID field of the Diameter Header MUST be set to the Diameter ABFAB Application ID (value of TDB).
<Diameter-EAP-Request> ::= < Diameter Header: 268, REQ, PXY > < Session-Id > { Auth-Application-Id } { Origin-Host } { Origin-Realm } { Destination-Realm } { Auth-Request-Type } [ Destination-Host ] [ NAS-Identifier ] [ NAS-IP-Address ] [ NAS-IPv6-Address ] [ NAS-Port-Type ] [ User-Name ] ... { EAP-Payload } ... [ SAML-AuthnRequest ] ... * [ AVP ]
The SAML-AuthnRequest AVP is only included in the first DER message send by the Diameter client. The user is both authenticated and during the EAP method authentication. Authorization happens immediately after the authentication procedure has been completed. Thus, the Auth-Request-Type AVP MUST be set to the value AUTHORIZE_AUTHENTICATE.
The Diameter-EAP-Answer (DEA) message, indicated by the Command-Code field set to 268 and 'R' bit cleared in the Command Flags field, is sent in response to the Diameter-EAP-Request message (DER). The Application-Id field in the Diameter message header MUST be set to the Diameter ABFAB Application-Id (value of TBD).
<Diameter-EAP-Answer> ::= < Diameter Header: 268, PXY > < Session-Id > { Auth-Application-Id } { Auth-Request-Type } { Result-Code } { Origin-Host } { Origin-Realm } [ User-Name ] [ EAP-Payload ] [ EAP-Reissued-Payload ] [ EAP-Master-Session-Key ] [ EAP-Key-Name ] [ Multi-Round-Time ] ... [ SAML-AuthnResponse ] [ SAML-Assertion ] ... * [ AVP ]
SAML related attributes are only included in the final message exchange. Either the SAML-AuthnResponse AVP is included in the response or a SAML-Assertion but not both.
+--------------------+ | AVP Flag rules | +----+---+------+----+----+ AVP | | |SHOULD|MUST|MAY | Attribute Name Code Value Type |MUST|MAY| NOT | NOT|Encr| +-------------------------------------+----+---+------+----+----+ |SAML-Assertion TBD UTF8String | | P | | V | Y | +-------------------------------------+----+---+------+----+----+ |SAML-AuthnRequest TBD UTF8String | | P | | V | Y | +-------------------------------------+----+---+------+----+----+ |SAML-AuthnResponse TBD UTF8String | | P | | V | Y | +-------------------------------------+----+---+------+----+----+
[Editor's Note: SAML encryption requirements are FFS. The "MAY Encr" column in the above table refers to XML-Enc rather than the defunct Diameter AVP encryption.]
The SAML-Assertion AVP contains the UTF8String encoded SAML assertion.
The SAML-AuthnRequest AVP contains the UTF8String encoded SAML AuthnRequest message.
The SAML-AuthnResponse AVP contains the UTF8String encoded SAML AuthnResponse message.
This section defines new Result-Code [RFC3588] values that MUST be supported by all Diameter implementations that conform to this specification.
[Editor's Note: ABFAB specific error values may need to be added here.]
The following tables present the AVPs defined in this document and their occurrences in Diameter messages.
The table uses the following symbols:
+------------+ |Command-Code| |-----+------+ AVP Name | DER | DEA | -------------------------------|-----+------+ SAML-Assertion | 0 | 1 | SAML-AuthnRequest | 1 | 0 | SAML-AuthnResponse | 0 | 1 | +-----+------+
[Editor's Note: Is it possible to return more than one SAML-Assertion?]
The table in this section is used to represent which AVPs defined in this document are to be present in the Accounting messages, as defined in [RFC3588].
+-------------+ | Command-Code| |------+------+ Attribute Name | ACR | ACA | -------------------------------------|------+------+ Accounting-Input-Octets | 0-1 | 0-1 | Accounting-Input-Packets | 0-1 | 0-1 | Accounting-Output-Octets | 0-1 | 0-1 | Accounting-Output-Packets | 0-1 | 0-1 | Acct-Multi-Session-Id | 0-1 | 0-1 | Acct-Session-Time | 0-1 | 0-1 | -------------------------------------|------+------+
[Editor's Note: Do we need any application specific accounting messages for ABFAB?]
This section contains the namespaces that have either been created in this specification or had their values assigned to existing namespaces managed by IANA.
This specification requires IANA to register the following new AVPs from the AVP Code namespace defined in [RFC3588].
The AVPs are defined in Section 8.
This specification requires IANA to allocate a new application ID from the Application Identifier namespace defined in [RFC3588].
Application Identifier | Value -----------------------------------+------ Diameter ABFAB (ABFAB) | TBD
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. |
[RFC3588] | Calhoun, P., Loughney, J., Guttman, E., Zorn, G. and J. Arkko, "Diameter Base Protocol", RFC 3588, September 2003. |
[RFC4072] | Eronen, P., Hiller, T. and G. Zorn, "Diameter Extensible Authentication Protocol (EAP) Application", RFC 4072, August 2005. |
[I-D.ietf-dime-app-design-guide] | Fajardo, V, Tschofenig, H and L Morand, "Diameter Applications Design Guidelines", Internet-Draft draft-ietf-dime-app-design-guide-13, January 2012. |
[I-D.ietf-abfab-arch] | Howlett, J, Hartman, S, Tschofenig, H and E Lear, "Application Bridging for Federated Access Beyond Web (ABFAB) Architecture", Internet-Draft draft-ietf-abfab-arch-01, March 2012. |