Skip to content
Snippets Groups Projects
  1. Mar 14, 2014
    • Andrea Biancini's avatar
      Modification to permit the automatic metadata creation of an SP to produce a... · efbee639
      Andrea Biancini authored
      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:
      
        <md:RequestedAttribute FriendlyName="eppn" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" />
        <md:RequestedAttribute FriendlyName="mail" Name="urn:oid:0.9.2342.19200300.100.1.3" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" />
        <md:RequestedAttribute FriendlyName="o" Name="urn:oid:2.5.4.10" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" />
        <md:RequestedAttribute FriendlyName="cn" Name="urn:oid:2.5.4.3" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" />
        <md:RequestedAttribute FriendlyName="givenName" Name="urn:oid:2.5.4.42" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" />
      efbee639
  2. Mar 03, 2014
  3. Feb 28, 2014
  4. Feb 27, 2014
  5. Feb 25, 2014
  6. Feb 24, 2014
  7. Feb 21, 2014
  8. Feb 20, 2014
  9. Feb 18, 2014
  10. Feb 17, 2014
  11. Feb 09, 2014
  12. Feb 06, 2014
  13. Feb 05, 2014
Loading