Skip to main content

Generalized Policy Management

Introduction

Over the past two decades, several open authentication and authorization frameworks for the Web have been conceived, and matured into widely used standards, including XACML (3.0), OAuth (2.0) and OpenID Connect (2.0). However, after years of patchwork, an overload of extensions, and multiple attempted evolutions -- OAuth 2.1, the Grant Negotiation and Authorization Protocol, OpenID's specifications around Digital Credential, multiple Data Spaces approaches -- their age has begun to show:

  • While some of these alternatives are somewhat compatible from afar, most are far from interoperable.
  • Many of them fail to adhere to basic principles of Web standards, such as the orthogonality between authentication and authorization.
  • Few of them establish a link with personal digital rights in contemporary legislation.
  • With the exception of certain approaches to Data Spaces, none of them takes into account the current emphasis on usage, rather than mere access control.

Rather than providing yet another alternative to these historical behemoths and their more recent competitors, this specification builds on top of them, by

  • extracting the shared core of information from the different messages passed within each of these frameworks;
  • aggregating the less common aspects that are unique to one or more of them;
  • constructing a generalized model that encompasses both kinds of data;
  • providing mappings between the proposed model and each of the existing frameworks; and
  • binding similar steps in the protocols to their counterpart in an generic, abstract flow.
WarningTo do

List generalized specs

1 Terminology

...

2 Policy Request Model

This section introduces the generalized conceptual model for policy requests. It names and describes the different informational aspects of a request message. These can be divided into two categories, which constitute the direct (i.e., top-level) properties of a request.

identifier (optional)
A unique identifier for the Request.
class (optional)
The type of Request.
policy (required)
One or more Policies to which the Request pertains.
negotiation (recommended)
The preferences and parameters needed for the continuation of the negotiation process.

2.1 Policies

Policies bundle Rules requested and/or managed by the same parties. They constitute the legal perspective of the Request, and include the following properties.

identifier (optional)
A unique identifier for the Policy.
class (optional)
The type of Policy.
rule (required)
One or more Rules to which the Policy pertains.
user (recommended)
The Party on whose behalf the Policy is requested.
owner (optional)
The Party on whose behalf the Policy will be accepted or rejected -- i.e., who ultimately grants or denies authorization.

2.2 Rules

Rules are modal statements about an Operation. They consist of the following properties.

identifier (optional)
A unique identifier for the Rule.
class (required)
The type of Rule; in particular, the modality of the statement. This specification defines three modal classes: authorization, prohibition, obligation.
operation (required)
The Operation which forms the content of the statement.
consumer (recommended)
The Operator who would execute the Operation on behalf of the User.
provider (recommended)
The Operator who provides a service on behalf of the Owner, and with whom the Consumer will interact in order to execute the Operation.

2.3 Operations

Operations are patterns that describe events, to which Rules apply. They constitute the operational perspective of a Rule, describing actions, and the roles involved in them. Operations have the following properties.

identifier (optional)
A unique identifier for the Operation.
class (optional)
The type of Operation.
action (required)
The Action the operation would perform.
client (recommended)
The software Agent (instance) though which the Consumer makes use of the service.
server (recommended)
The software Agent (instance) through which the Provider offers the service.
target (recommended)
The Asset on which the operation would be executed.

2.4 Negotiation

recipient (recommended)
The Operator making the Request on behalf of the User(s).
client (recommended)
The software Agent (instance) used to make the Request.
holder (optional)
The Operator that makes the actual authorization decision(s) on behalf of the Owner(s). (Since this is usually not known upfront by the Requester, it is typically not explicitly identified.)
server (optional)
The software Agent through which the holder manages the authorization decision(s). (Since this is usually the system to which the request is sent, it is typically not explicitly identified.)

2.5 Identification & authentication

The information pertaining different roles primarily serves to identify the entities involved, by combining any of the following properties.

identifier
A formatted value (informally) identifying the entity in a certain context.
class
A formatted value (informally) representing a group of entities to which the entity belongs.
key
A formatted value (authoritatively) representing one or more cryptographic keys of the entity.
assertion
A formatted value (authoritatively) representing one or more verifiable claims about the entity.