simplesamlphp/simplesamlphp — pull request #60 by biancini (2014-03-14 16:10:59+00:00)
Title: RequestedAttribute with FriendlyName in Metadata autogenerated for SP

Modification to permit the automatic metadata creation of an SP to produce a friendlyName for RequestedAttributes.

The current code works as follows. If authsources.php contains the following configuration:

'attributes' => array(
'eppn' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.6',
'mail' => 'urn:oid:0.9.2342.19200300.100.1.3',
'o' => 'urn:oid:2.5.4.10',
'cn' => 'urn:oid:2.5.4.3',
'givenName' => 'urn:oid:2.5.4.42',
),

the metadata generator will produce the XML Metadata as follows: