diff --git a/docs/source/simplesamlphp-sp.xml b/docs/source/simplesamlphp-sp.xml index 93d862e5922adfb52b97d47f61638ae10eb2ddca..14ab345d9dbbec41d906f64fb19a91717fed03de 100644 --- a/docs/source/simplesamlphp-sp.xml +++ b/docs/source/simplesamlphp-sp.xml @@ -164,6 +164,18 @@ as software-PKI.</para> </glossdef> </glossentry> + + <glossentry> + <glossterm>SPNameQualifier</glossterm> + + <glossdef> + <para>This corresponds to the SPNameQualifier in the SAML 2.0 + specification. It allows to give subjects a SP specific + namespace. This value is seldom used, so if you don't need it, + do not include it. If you do not include it, simpleSAMLphp will + include the entityID of your SP as the SPNameQualifier.</para> + </glossdef> + </glossentry> </glosslist> </section> @@ -332,18 +344,6 @@ </warning></para> </glossdef> </glossentry> - - <glossentry> - <glossterm>SPNameQualifier</glossterm> - - <glossdef> - <para>This corresponds to the SPNameQualifier in the SAML 2.0 - specification. It allows to give subjects a SP specific - namespace. This value is seldom used, so if you don't need it, - do not include it. If you do not include it, simpleSAMLphp will - include the entityID of your SP as the SPNameQualifier.</para> - </glossdef> - </glossentry> </glosslist> </section> diff --git a/www/admin/metadata.php b/www/admin/metadata.php index cab6538e1d179af84ef4683e53a7471d456754a7..60f3573767a9b18d1142c979c563cf805b0146d5 100644 --- a/www/admin/metadata.php +++ b/www/admin/metadata.php @@ -34,7 +34,7 @@ try { foreach ($metalist AS $entityid => $mentry) { $results[$entityid] = SimpleSAML_Utilities::checkAssocArrayRules($mentry, array('entityid', 'host'), - array('request.signing','certificate','privatekey', 'NameIDFormat', 'ForceAuthn', 'AuthnContextClassRef') + array('request.signing','certificate','privatekey', 'NameIDFormat', 'ForceAuthn', 'AuthnContextClassRef', 'SPNameQualifier') ); } $et->data['metadata.saml20-sp-hosted'] = $results; @@ -44,7 +44,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', 'SPNameQualifier', 'SingleLogoutServiceResponse') + array('name', 'description', 'base64attributes', 'certificate', 'hint.cidr', 'saml2.relaxvalidation', 'SingleLogoutServiceResponse') ); } $et->data['metadata.saml20-idp-remote'] = $results;