...
Testspecifikationer version 0.2.0 (draft), test-specifications/. Testfallen är grupperade per Entity och sedan per funktion. Beskrivningarna är testfallens Purpose.
1. Trust Anchor
Alla testfall för Trust Anchor: ta_overview.md.
...
| Testfall | Beskrivning |
|---|
| TA-BAS-008 Verifying the Entity Types admitted in BAS | Assert that the Trust Anchor only admits the Entity Types that BAS covers, and that its Immediate Subordinates are the Federation Registration Entities. |
1.3. Nycklar och TLS
| TestfalzTestfall | Beskrivning |
|---|
| TA-BAS-001 Verifying the federation keys against the BAS rules | Assert that the Trust Anchor's Federation Entity Keys meet the requirements that apply to them in BAS. [BAS.Security] does not apply to Federation Entity Keys. For them, Section 9 of [BAS.Rules] makes Section 6 of [OIDC.Sweden.Federation] apply. |
| TA-BAS-002 TLS configuration | Assert that all TA endpoints are protected by TLS according to the federation's security requirements. |
...
| Testfall | Beskrivning |
|---|
| FRE-BAS-012 Changing a verified value in the Entity Configuration | Assert that an Entity cannot change a verified value by changing its own Entity Configuration. |
2.3.
...
Resolved Metadata för registrerade Entities
| Testfall | Beskrivning |
|---|
| FRE-BAS-007 Verifying the Resolved Metadata of registered Entities | Assert that every Entity the FRE publishes meets the BAS requirements, so that the registration, seen as a black box, has admitted only Entities that meet them. |
2.4. Språk och FRE-värden
| Testfall | Beskrivning |
|---|
| FRE-BAS-004 Verifying language-tagged values | Assert that the Federation Registration Entity assigns a value without a language tag, holding the Swedish value, for human-readable parameters, so that implementations without language tag support can use them. |
| FRE-BAS-005 Verifying that the FRE sets no other values | Assert that the Federation Registration Entity only sets the values that [BAS.Metadata] assigns to it, since all other assigned or constrained values are controlled by the Federation Operator through the Trust Anchor. |
2.5. Nycklar och TLS
| Testfall | Beskrivning |
|---|
| FRE-BAS-001 Verifying the federation keys against the BAS rules | Assert that the FRE's Federation Entity Keys meet the requirements that apply to them in BAS. [BAS.Security] does not apply to Federation Entity Keys. For them, Section 9 of [BAS.Rules] makes Section 6 of [OIDC.Sweden.Federation] apply. |
| FRE-BAS-002 TLS configuration | Assert that all FRE endpoints, and any hosted Entity Configurations, are protected by TLS according to the federation's security requirements. |
3. Federation Resolver
Alla testfall för Federation Resolver: resolver_overview.md.
3.1. Krav på identifierare
| Testfall | Beskrivning |
|---|
| RES-BAS-007 Entities that break requirements the policy cannot express | Find out how the resolver handles metadata that breaks BAS requirements that the policy cannot express. Peers MUST NOT use Resolved Metadata that breaks the issuer or resource binding. How a peer acts on other deviations is left to the peer. |
| Testfall | Beskrivning |
|---|
| RES-BAS-004 Organization parameters in Resolved Metadata | Assert that the resolver delivers the verified organization values that the Federation Registration Entity has set, which is the primary purpose of BAS metadata. |
| RES-BAS-002 Resolved Metadata of an Authorization Server | Assert that the resolver applies the BAS policy to an Authorization Server, so that peers only see the client authentication method and algorithms that BAS permits, while grant types that the Authorization Server supports outside BAS remain visible. |
| RES-BAS-003 Resolved Metadata of a Client | Assert that the resolver applies the BAS policy and the values set by the Federation Registration Entity to a Client. |
...
| Testfall | Beskrivning |
|---|
| RES-BAS-005 Entities that fail the BAS policy | Assert that the resolver applies the essential, superset_of and one_of checks of the BAS policy, for Clients, Authorization Servers and Protected Resources (see RES-OS-025). |
3.
...
4. Tillåtna Entity Types
| Testfall | Beskrivning |
|---|
| RES-BAS-010 Entity Type not admitted in BAS | Assert that the resolver applies the allowed_entity_types constraint that the Trust Anchor sets, so that peers do not see metadata of Entity Types that BAS does not admit. |
3.
...
5. TLS
| Testfall | Beskrivning |
|---|
| RES-BAS-001 TLS configuration | Assert that the resolve endpoint is protected by TLS according to the federation's security requirements. |