Description
The XCAP Unique Identifier (XUI) is a fundamental component of the XML Configuration Access Protocol (XCAP) framework defined by 3GPP. XCAP allows a client, such as a User Equipment (UE) or an application server, to read, write, and modify application configuration data stored in XML format on a remote server, known as the XCAP server. This data is often related to IMS services, including presence authorization policies (e.g., presence rules in the `org.openmobilealliance.pres-rules` application usage), resource lists for conferencing, or supplementary service settings. The XUI serves as the primary key to uniquely identify the user's data document or a specific element within that document on the server.
Architecturally, the XUI is embedded within the HTTP URI used for XCAP operations. A typical XCAP HTTP request URI is structured hierarchically, containing components like the XCAP root, the application unique ID (AUID), the XUI, and the document selector with an optional node selector. The XUI itself is derived from the user's public identity, such as a SIP URI or TEL URI. For example, an XUI might be constructed by taking the SIP URI `sip:[email protected]` and applying URL encoding to produce a string like `sip%3Auser%40example.com`. This ensures the identifier is unique within the context of a specific AUID and XCAP root.
When a client performs an XCAP operation, it constructs the target URI using the XUI to pinpoint the exact XML resource. The server uses the XUI to locate the user's document store, authenticate and authorize the request (often based on the authenticated identity matching the XUI), and then perform the requested XML manipulation, such as a GET, PUT, or DELETE. The XUI's role is critical for maintaining data isolation between users and for enabling scalable, multi-tenant XCAP server deployments. Its standardized format ensures interoperability between different vendors' XCAP clients and servers, which is essential for the ecosystem of IMS-based services.
Beyond basic CRUD operations, the XUI also plays a role in subscription mechanisms. Clients can subscribe to changes in specific XML documents using the SIP event notification framework, where the subscription request references the document via its XCAP URI containing the XUI. This allows for real-time synchronization of configuration data. The management of XUIs, including their allocation and mapping to user identities, is typically handled by the service provider's IMS core and HSS, ensuring consistency across the network.
Purpose & Motivation
The XCAP Unique Identifier was created to solve the problem of managing user-specific service configuration data in IP Multimedia Subsystem (IMS) networks in a standardized, RESTful manner. Prior to XCAP, service configuration was often handled through proprietary protocols or embedded within complex signaling flows, leading to interoperability challenges and limited flexibility for users to self-manage their settings. The introduction of XCAP, and by extension the XUI, provided a uniform HTTP/XML-based mechanism for data manipulation, aligning with web development paradigms.
The primary motivation was to enable rich IMS services like presence, messaging, and conferencing, where users need to define complex policies (e.g., 'who can see my online status'). These policies are naturally represented as XML documents. The XUI provides a simple yet powerful addressing scheme that allows any authorized client to uniquely identify and modify a user's specific document without ambiguity. This decouples the configuration storage from the service logic, promoting a more scalable and maintainable architecture.
Furthermore, the XUI facilitates user mobility and multi-device scenarios. Since the identifier is based on a persistent public user identity (like a SIP URI), a user can access and modify their service settings from different devices or clients, ensuring a consistent service experience. It also enables network operators to delegate configuration management to third-party application providers securely, as the XUI serves as a clear namespace boundary. The creation of the XUI within 3GPP Rel-12 was part of the broader effort to mature IMS service enablers and support the growing demand for customizable communication services.
Key Features
- Uniquely identifies a user's XML document within an XCAP application usage context
- Derived from the user's public identity (e.g., SIP URI or TEL URI) and is URL-encoded for use in HTTP URIs
- Enables standard HTTP methods (GET, PUT, DELETE) for CRUD operations on XML configuration data
- Essential for data isolation and multi-tenancy in XCAP server deployments
- Used in conjunction with the Application Unique ID (AUID) and document selector to form a complete XCAP resource URI
- Supports subscription mechanisms for real-time notification of document changes via SIP
Evolution Across Releases
Introduced as part of the XCAP framework for IMS service configuration management. The initial architecture defined the XUI as a mandatory component in XCAP URIs for addressing user-specific documents. Specifications 24.483, 24.484, and 24.623 established the encoding rules, its derivation from public user identities, and its role within the HTTP-based protocol for manipulating XML data stored on an XCAP server.
Defining Specifications
| Specification | Title |
|---|---|
| TS 24.483 | 3GPP TS 24.483 |
| TS 24.484 | 3GPP TS 24.484 |
| TS 24.623 | 3GPP TS 24.623 |