Skip to content

Commit

Permalink
Merge pull request #1275 from OpenConext/cleanup/index-no-keyid-for-n…
Browse files Browse the repository at this point in the history
…on-idp-urs

Do not generate per-keyId metadata links for non-IdP metadata
  • Loading branch information
pmeulen authored Nov 6, 2023
2 parents 4410ba9 + 201ec7a commit ce9d80e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Feature:
Then I should see 8 links on the front page
And I should see text matching "The Public SAML Signing certificate of the OpenConext IdP"
And I should see URL "/authentication/idp/certificate"
# The default key should not get a separate URL next to the key-less url
And I should not see URL "/authentication/idp/certificate/key:default"
And I should see text matching "The Public SAML metadata \(the entity descriptor\) of the OpenConext IdP Proxy"
And I should see URL "/authentication/idp/metadata"
Expand All @@ -28,14 +29,15 @@ Feature:
And I should see URL "/authentication/sp/debug"
And I should see text matching "The Public SAML Signing certificate of the OpenConext SP"
And I should see URL "/authentication/sp/certificate"
And I should not see URL "/authentication/sp/certificate/key:default"
# The key:-variants should only be shown for the IdP metadata feeds
And I should not see URL "/authentication/sp/certificate/key:"
And I should see text matching "The Public SAML metadata \(the entity descriptor\) of the OpenConext SP Proxy"
And I should see URL "/authentication/sp/metadata"
And I should not see URL "/authentication/sp/metadata/key:default"
And I should not see URL "/authentication/sp/metadata/key:"
And I should see text matching "Step-up authentication Certificate and Metadata"
And I should see text matching "The Public SAML metadata \(the entity descriptor\) of the OpenConext step-up authentication Proxy"
And I should see URL "/authentication/stepup/metadata"
And I should not see URL "/authentication/stepup/metadata/key:default"
And I should not see URL "/authentication/stepup/metadata/key:"
# eduGAIN metadata is no longer created by EngineBlock
And I should not see text matching "eduGAIN"
# IdP / SP metadata combination (for Shiboleth entities) is no longer supported
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@
<dd>
<ul>
<li><a href="/authentication/sp/certificate">Open link</a></li>
{% for keyId in keyPairIds %}
<li><a href="/authentication/sp/certificate/key:{{ keyId }}">Open link</a></li>
{% endfor %}
</ul>
</dd>
<dt>
Expand All @@ -104,9 +101,6 @@
<dd>
<ul>
<li><a href="/authentication/sp/metadata">Open link</a></li>
{% for keyId in keyPairIds %}
<li><a href="/authentication/sp/metadata/key:{{ keyId }}">Open link</a></li>
{% endfor %}
</ul>
</dd>
</dl>
Expand All @@ -122,9 +116,6 @@
<dd>
<ul>
<li><a href="/authentication/stepup/metadata">Open link</a></li>
{% for keyId in keyPairIds %}
<li><a href="/authentication/stepup/metadata/key:{{ keyId }}">Open link</a></li>
{% endfor %}
</ul>
</dd>
</dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@
<dd>
<ul>
<li><a href="/authentication/sp/certificate">Open link</a></li>
{% for keyId in keyPairIds %}
<li><a href="/authentication/sp/certificate/key:{{ keyId }}">Open link</a></li>
{% endfor %}
</ul>
</dd>
<dt>
Expand All @@ -107,9 +104,6 @@
<dd>
<ul>
<li><a href="/authentication/sp/metadata">Open link</a></li>
{% for keyId in keyPairIds %}
<li><a href="/authentication/sp/metadata/key:{{ keyId }}">Open link</a></li>
{% endfor %}
</ul>
</dd>
</dl>
Expand All @@ -125,9 +119,6 @@
<dd>
<ul>
<li><a href="/authentication/stepup/metadata">Open link</a></li>
{% for keyId in keyPairIds %}
<li><a href="/authentication/stepup/metadata/key:{{ keyId }}">Open link</a></li>
{% endfor %}
</ul>
</dd>
</dl>
Expand Down

0 comments on commit ce9d80e

Please sign in to comment.