Skip to content
Snippets Groups Projects
Commit 542fc728 authored by Olav Morken's avatar Olav Morken
Browse files

Make it clearer what to do in order to use the uri attribute NameFormat.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2569 44740490-163a-0410-bde0-09ae8108e29a
parent fcbad611
No related branches found
No related tags found
No related merge requests found
...@@ -147,6 +147,19 @@ For more information about available options in the idp-hosted metadata ...@@ -147,6 +147,19 @@ For more information about available options in the idp-hosted metadata
files, see the [IdP hosted reference](simplesamlphp-reference-idp-hosted). files, see the [IdP hosted reference](simplesamlphp-reference-idp-hosted).
Using the `uri` NameFormat on attributes
----------------------------------------
It is generally recommended to use the `urn:oasis:names:tc:SAML:2.0:attrname-format:uri` attribute NameFormat in new installations.
This can be done by adding the following to the saml20-idp-hosted configuration:
'AttributeNameFormat' => 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri',
'authproc' => array(
// Convert LDAP names to oids.
100 => array('class' => 'core:AttributeMap', 'name2oid'),
),
Adding SPs to the IdP Adding SPs to the IdP
--------------------- ---------------------
......
...@@ -22,4 +22,14 @@ $metadata['__DYNAMIC:1__'] = array( ...@@ -22,4 +22,14 @@ $metadata['__DYNAMIC:1__'] = array(
* 'config/authsources.php'. * 'config/authsources.php'.
*/ */
'auth' => 'example-userpass', 'auth' => 'example-userpass',
/* Uncomment the following to use the uri NameFormat on attributes. */
/*
'AttributeNameFormat' => 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri',
'authproc' => array(
// Convert LDAP names to oids.
100 => array('class' => 'core:AttributeMap', 'name2oid'),
),
*/
); );
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