diff --git a/docs/source/simplesamlphp-sp.xml b/docs/source/simplesamlphp-sp.xml index 2acacfe90175d3b174f3b9ee212e84f7773e4d26..b17a1eaeb4fd7ff7daaf85f466df08223e23018b 100644 --- a/docs/source/simplesamlphp-sp.xml +++ b/docs/source/simplesamlphp-sp.xml @@ -549,8 +549,10 @@ <glossterm>icon</glossterm> <glossdef> - <para>An icon for this IdP. This icon will be displayed in the - IdP discovery service.</para> + <para>An icon for this IdP. This is a URL to a icon which will + be displayed next to this IdP in the IdP discovery service. The + URL can be absolute or relative. If it is relative, it will be + relative to the simpleSAMPphp www-directory.</para> </glossdef> </glossentry> </glosslist> @@ -803,8 +805,11 @@ <glossterm>icon</glossterm> <glossdef> - <para>An icon for this IdP. This icon will be displayed in the - IdP discovery service. This field is optional.</para> + <para>An icon for this IdP. This is a URL to a icon which will + be displayed next to this IdP in the IdP discovery service. The + URL can be absolute or relative. If it is relative, it will be + relative to the simpleSAMPphp www-directory. This field is + optional.</para> </glossdef> </glossentry> </glosslist> diff --git a/www/admin/metadata.php b/www/admin/metadata.php index 298496dc1524d33fd234fd0dfc46645f48ec4304..248f0685b6a6d6cbd330ece99924f120d197db8d 100644 --- a/www/admin/metadata.php +++ b/www/admin/metadata.php @@ -39,7 +39,7 @@ try { foreach ($metalist AS $entityid => $mentry) { $results[$entityid] = SimpleSAML_Utilities::checkAssocArrayRules($mentry, array('entityid', 'SingleSignOnService', 'SingleLogoutService', 'certFingerprint'), - array('name', 'description', 'base64attributes', 'certificate', 'hint.cidr', 'saml2.relaxvalidation', 'SingleLogoutServiceResponse', 'request.signing', 'attributemap', 'attributealter', 'sharedkey', 'assertion.encryption') + array('name', 'description', 'base64attributes', 'certificate', 'hint.cidr', 'saml2.relaxvalidation', 'SingleLogoutServiceResponse', 'request.signing', 'attributemap', 'attributealter', 'sharedkey', 'assertion.encryption', 'icon') ); } $et->data['metadata.saml20-idp-remote'] = $results; @@ -89,7 +89,7 @@ try { foreach ($metalist AS $entityid => $mentry) { $results[$entityid] = SimpleSAML_Utilities::checkAssocArrayRules($mentry, array('entityid', 'SingleSignOnService', 'certFingerprint'), - array('name', 'description', 'base64attributes') + array('name', 'description', 'base64attributes', 'icon') ); } $et->data['metadata.shib13-idp-remote'] = $results;