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

Show expired entities

parent 9646a18b
No related branches found
No related tags found
No related merge requests found
...@@ -51,8 +51,8 @@ $metaentries = ['hosted' => $metadataHosted, 'remote' => []]; ...@@ -51,8 +51,8 @@ $metaentries = ['hosted' => $metadataHosted, 'remote' => []];
if ($isadmin) { if ($isadmin) {
$metaentries['remote']['saml20-idp-remote'] = $metadata->getList('saml20-idp-remote'); $metaentries['remote']['saml20-idp-remote'] = $metadata->getList('saml20-idp-remote', true);
$metaentries['remote']['shib13-idp-remote'] = $metadata->getList('shib13-idp-remote'); $metaentries['remote']['shib13-idp-remote'] = $metadata->getList('shib13-idp-remote', true);
} }
if ($config->getBoolean('enable.saml20-idp', false) === true) { if ($config->getBoolean('enable.saml20-idp', false) === true) {
...@@ -61,7 +61,7 @@ if ($config->getBoolean('enable.saml20-idp', false) === true) { ...@@ -61,7 +61,7 @@ if ($config->getBoolean('enable.saml20-idp', false) === true) {
$metaentries['hosted']['saml20-idp']['metadata-url'] = $metaentries['hosted']['saml20-idp']['metadata-url'] =
$config->getBasePath().'saml2/idp/metadata.php?output=xhtml'; $config->getBasePath().'saml2/idp/metadata.php?output=xhtml';
if ($isadmin) { if ($isadmin) {
$metaentries['remote']['saml20-sp-remote'] = $metadata->getList('saml20-sp-remote'); $metaentries['remote']['saml20-sp-remote'] = $metadata->getList('saml20-sp-remote', true);
} }
} catch (Exception $e) { } catch (Exception $e) {
\SimpleSAML\Logger::error('Federation: Error loading saml20-idp: '.$e->getMessage()); \SimpleSAML\Logger::error('Federation: Error loading saml20-idp: '.$e->getMessage());
...@@ -73,7 +73,7 @@ if ($config->getBoolean('enable.shib13-idp', false) === true) { ...@@ -73,7 +73,7 @@ if ($config->getBoolean('enable.shib13-idp', false) === true) {
$metaentries['hosted']['shib13-idp']['metadata-url'] = $metaentries['hosted']['shib13-idp']['metadata-url'] =
$config->getBasePath().'shib13/idp/metadata.php?output=xhtml'; $config->getBasePath().'shib13/idp/metadata.php?output=xhtml';
if ($isadmin) { if ($isadmin) {
$metaentries['remote']['shib13-sp-remote'] = $metadata->getList('shib13-sp-remote'); $metaentries['remote']['shib13-sp-remote'] = $metadata->getList('shib13-sp-remote', true);
} }
} catch (Exception $e) { } catch (Exception $e) {
\SimpleSAML\Logger::error('Federation: Error loading shib13-idp: '.$e->getMessage()); \SimpleSAML\Logger::error('Federation: Error loading shib13-idp: '.$e->getMessage());
...@@ -87,7 +87,7 @@ if ($config->getBoolean('enable.adfs-idp', false) === true) { ...@@ -87,7 +87,7 @@ if ($config->getBoolean('enable.adfs-idp', false) === true) {
['output' => 'xhtml'] ['output' => 'xhtml']
); );
if ($isadmin) { if ($isadmin) {
$metaentries['remote']['adfs-sp-remote'] = $metadata->getList('adfs-sp-remote'); $metaentries['remote']['adfs-sp-remote'] = $metadata->getList('adfs-sp-remote', true);
} }
} catch (Exception $e) { } catch (Exception $e) {
\SimpleSAML\Logger::error('Federation: Error loading adfs-idp: '.$e->getMessage()); \SimpleSAML\Logger::error('Federation: Error loading adfs-idp: '.$e->getMessage());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment