Available in stable development 1.19 1.18 1.17 1.16 1.15 1.14 1.13 1.12

SAML V2.0 Metadata Extensions for Registration and Publication Information

Table of Contents

This is a reference for the SimpleSAMLphp implementation of the SAML V2.0 Metadata Extensions for Registration and Publication Information defined by OASIS.

This extension aims to provide information about the registrars and publishers of the metadata themselves, and it is therefore available throught different endpoints and modules that provide metadata all along SimpleSAMLphp. More specifically, this extension can be used for:

Currently, only the <mdrpi:RegistrationInfo> element is supported.

Depending on the metadata set you want to add this extension to, you will have to configure it on the corresponding configuration file:

1 RegistrationInfo Items

The configuration is the same for all the different files, and consists of a single directive called RegistrationInfo, which must be an indexed array with the following options:

authority
A string containing an identifier of the authority who has registered this metadata. This parameter is mandatory.
instant
A string containing the instant when the entity or entities where registered by the authority. This parameter is optional, and must be expressed in the UTC timezone with the zulu (Z) timezone identifier. If omitted, there will be no registrationInstant in the resulting metadata, except in the aggregator2 module, which will use the instant when the metadata was generated.
policies
An indexed array containing URLs pointing to the policy under which the entity or entities where registered. Each index must be the language code corresponding to the language of the URL. This parameter is optional, and will be omitted in the resulting metadata if not configured.

2 Examples

Service Provider:

'default-sp' => [
    'saml:SP',
    'entityID' => NULL,
    ...
    'RegistrationInfo' => [
        'authority' => 'urn:mace:sp.example.org',
        'instant' => '2008-01-17T11:28:03.577Z',
        'policies' => ['en' => 'http://sp.example.org/policy', 'es' => 'http://sp.example.org/politica'],
    ],
],

Identity Provider:

$metadata['__DYNAMIC:1__'] = [
    'host' => '__DEFAULT__',
    ...
    'RegistrationInfo' => [
        'authority' => 'urn:mace:idp.example.org',
        'instant' => '2008-01-17T11:28:03.577Z',
    ],
];

aggregator module:

$config = [
    'aggregators' => [
        ...
    ],
    'maxDuration'   => 60*60*24*5,
    'reconstruct' => FALSE,
    ...
    'RegistrationInfo' => [
        'authority' => 'urn:mace:example.federation',
        'instant' => '2008-01-17T11:28:03Z',
        'policies' => ['en' => 'http://example.org/federation_policy', 'es' => 'https://example.org/politica_federacion'],
    ],
];

aggregator2 module:

$config = [
    'example.org' => [
        'sources' => [
            ...
        ],
        'RegistrationInfo' => [
            'authority' => 'urn:mace:example.federation',
            'policies' => ['en' => 'http://example.org/federation_policy', 'es' => 'https://example.org/politica_federacion'],
        ],
    ],
];