Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ All notable changes to this project will be documented in this file.
- Added disco-tpl template file
- Method getUsersGroupsOnFacility in AdapterRpc was optimized
- Searching of institutions on WAYF is accent-insensitive
- Changed config file for listOfSps

[Fixed]
- Fixed the bug generating Array to string conversion Exception in PerunAttributes,
Expand Down
22 changes: 11 additions & 11 deletions www/listOfSps.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
use SimpleSAML\XHTML\Template;
use SimpleSAML\Error\Exception;

const CONFIG_FILE_NAME = 'module_perun_listOfSps.php';
const PROXY_IDENTIFIER = 'proxyIdentifier';
const ATTRIBUTES_DEFINITIONS = 'attributesDefinitions';
const SHOW_OIDC_SERVICES = 'showOIDCServices';

const PERUN_PROXY_IDENTIFIER_ATTR_NAME = 'perunProxyIdentifierAttr';
const PERUN_LOGIN_URL_ATTR_NAME = 'loginURLAttr';
const PERUN_TEST_SP_ATTR_NAME = 'isTestSpAttr';
const PERUN_SHOW_ON_SERVICE_LIST_ATTR_NAME = 'showOnServiceListAttr';
const PERUN_SAML2_ENTITY_ID_ATTR_NAME = 'SAML2EntityIdAttr';
const PERUN_OIDC_CLIENT_ID_ATTR_NAME = 'OIDCClientIdAttr';
const CONFIG_FILE_NAME = 'module_perun.php';
const PROXY_IDENTIFIER = 'listOfSps.proxyIdentifier';
const ATTRIBUTES_DEFINITIONS = 'listOfSps.attributesDefinitions';
const SHOW_OIDC_SERVICES = 'listOfSps.showOIDCServices';

const PERUN_PROXY_IDENTIFIER_ATTR_NAME = 'listOfSps.perunProxyIdentifierAttr';
const PERUN_LOGIN_URL_ATTR_NAME = 'listOfSps.loginURLAttr';
const PERUN_TEST_SP_ATTR_NAME = 'listOfSps.isTestSpAttr';
const PERUN_SHOW_ON_SERVICE_LIST_ATTR_NAME = 'listOfSps.showOnServiceListAttr';
const PERUN_SAML2_ENTITY_ID_ATTR_NAME = 'listOfSps.SAML2EntityIdAttr';
const PERUN_OIDC_CLIENT_ID_ATTR_NAME = 'listOfSps.OIDCClientIdAttr';

$config = Configuration::getInstance();
$conf = Configuration::getConfig(CONFIG_FILE_NAME);
Expand Down