Skip to content

Commit

Permalink
Include remote idp's by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed May 13, 2019
1 parent a856f6d commit 1669b96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/TestConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ private function setMetadataConfig()
protected function getAvailableMetadataSets()
{
$globalConfig = $this->getGlobalConfig();
$sets = [];
$sets = ['shib13-idp-remote', 'saml20-idp-remote'];
if ($globalConfig->getBoolean('enable.saml20-idp', false)) {
$sets = array_merge($sets, ['saml20-idp-hosted', 'saml20-sp-remote', 'saml20-idp-remote']);
$sets = array_merge($sets, ['saml20-idp-hosted', 'saml20-sp-remote']);
}
if ($globalConfig->getBoolean('enable.shib13-idp', false)) {
$sets = array_merge($sets, ['shib13-idp-hosted', 'shib13-sp-hosted', 'shib13-sp-remote', 'shib13-idp-remote']);
$sets = array_merge($sets, ['shib13-idp-hosted', 'shib13-sp-hosted', 'shib13-sp-remote']);
}
if ($globalConfig->getBoolean('enable.adfs-idp', false)) {
$sets = array_merge($sets, ['adfs-idp-hosted', 'adfs-sp-remote']);
Expand Down

0 comments on commit 1669b96

Please sign in to comment.