Skip to content
Snippets Groups Projects
Unverified Commit 9646a18b authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Show remote entries

The template is already able to handle expired entities
parent 25c3b456
No related branches found
No related tags found
No related merge requests found
...@@ -69,14 +69,14 @@ class FederationController ...@@ -69,14 +69,14 @@ class FederationController
$entries = [ $entries = [
'hosted' => array_merge($hostedSPs, $hostedIdPs), 'hosted' => array_merge($hostedSPs, $hostedIdPs),
'remote' => [ 'remote' => [
'saml20-idp-remote' => !empty($hostedSPs) ? $this->mdHandler->getList('saml20-idp-remote') : [], 'saml20-idp-remote' => !empty($hostedSPs) ? $this->mdHandler->getList('saml20-idp-remote', true) : [],
'shib13-idp-remote' => !empty($hostedSPs) ? $this->mdHandler->getList('shib13-idp-remote') : [], 'shib13-idp-remote' => !empty($hostedSPs) ? $this->mdHandler->getList('shib13-idp-remote', true) : [],
'saml20-sp-remote' => $this->config->getBoolean('enable.saml20-idp', false) === true 'saml20-sp-remote' => $this->config->getBoolean('enable.saml20-idp', false) === true
? $this->mdHandler->getList('saml20-sp-remote') : [], ? $this->mdHandler->getList('saml20-sp-remote', true) : [],
'shib13-sp-remote' => $this->config->getBoolean('enable.shib13-idp', false) === true 'shib13-sp-remote' => $this->config->getBoolean('enable.shib13-idp', false) === true
? $this->mdHandler->getList('shib13-sp-remote') : [], ? $this->mdHandler->getList('shib13-sp-remote', true) : [],
'adfs-sp-remote' => ($this->config->getBoolean('enable.adfs-idp', false) === true) && 'adfs-sp-remote' => ($this->config->getBoolean('enable.adfs-idp', false) === true) &&
Module::isModuleEnabled('adfs') ? $this->mdHandler->getList('adfs-sp-remote') : [], Module::isModuleEnabled('adfs') ? $this->mdHandler->getList('adfs-sp-remote', true) : [],
], ],
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment