Skip to content
Snippets Groups Projects
Commit 3b143462 authored by Hans Zandbelt's avatar Hans Zandbelt
Browse files

fix metadata configuration error report: avoid complaining about non-existing...

fix metadata configuration error report: avoid complaining about non-existing 'certFingerprint' entry when the alternative 'certificate' entry exists

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@910 44740490-163a-0410-bde0-09ae8108e29a
parent 7c4e9045
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,12 @@ try {
array('entityid', 'SingleSignOnService', 'SingleLogoutService', 'certFingerprint'),
array('name', 'description', 'base64attributes', 'certificate', 'hint.cidr', 'saml2.relaxvalidation', 'SingleLogoutServiceResponse', 'request.signing', 'attributemap', 'attributealter', 'sharedkey', 'assertion.encryption', 'icon')
);
$index = array_search('certFingerprint', $results[$entityid]['required.notfound']);
if ($index !== FALSE) {
if (array_key_exists('certificate', $mentry)) {
unset($results[$entityid]['required.notfound'][$index]);
}
}
}
$et->data['metadata.saml20-idp-remote'] = $results;
......
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