Skip to content
Wallet and Entity Collection draft updates
Documentation menu

2. Entity Statements

Feature guides

Umeå University OP publishes its own Entity Configuration. eduGAIN issues a Subordinate Statement about Umeå University OP. Both are signed Entity Statements, but they make different assertions. Federation §3.

Use the host's getEntityConfiguration() for its own publication. A Superior uses registerSubordinate() and getSubordinateStatement() for approved subjects. The configured keyring and host options supply signing and lifetime; normal applications do not assemble these JWTs by hand.

Example context

Meet the academic federation from Appendix A

eduGAIN is the selected Trust Anchor. SWAMID and InCommon are its Intermediates in this example. SWAMID enrolls Umeå University, which enrolls its OP; InCommon enrolls the LIGO Wiki, which acts as the RP. Maya is the researcher signing in at her university to use the wiki.

This follows the illustrative topology in Federation Appendix A. The runnable examples use reserved .example addresses, not production services. The additional Research Portal and Research API are supplementary examples for roles beyond that topology. Example identifiers keep those actors distinct.

Follow the two statements

Umeå's Entity Configuration says what Umeå publishes about itself. eduGAIN's Subordinate Statement says what the authority attests about Umeå. Both are signed, but their issuers, subjects, permitted claims, and signing keys differ. A federation chain needs the appropriate relationship evidence; a collection of self-signed configurations is not that chain.

Build the payload with the matching API, sign it with the issuer's federation key, and serve it through the appropriate endpoint. For inspection, decode the result and compare the identity and time claims with the intended publication. For acceptance, validate the evidence through the chain workflow.

When a participant changes keys or metadata, the next issued statements can change while older copies remain usable within their signed lifetimes. Plan refresh and rollover together with publication, rather than treating the JWT as a permanent configuration file.

Work through this topic

The application supplies the identity, metadata, keys, and publication schedule. A signature authenticates a statement; a validated chain establishes how it connects to trusted configuration.

Common questions

Why does the Leaf constructor throw when my metadata block contains endpoints?

Leaf entities are client or provider endpoints at the edge of the trust tree and do not issue subordinate statements or list subordinates. Therefore, they are forbidden from publishing federation_fetch_endpoint or federation_list_endpoint in their federation_entity metadata block.

Next: 2.1. Publish an Entity Configuration

View source on GitHub