Hi to all,
in the previous few days I've started my knowledge on simpleSAMLphp and, on the first SSP IdP installation (configured with the ldap:LDAP authsource), I encountered this problem.
I test the release of attributes of my new SSP IdP with a Shibboleth SP and only eduPersonTargetedID is not recognized:
Shib SP Log:
2013-12-29 14:50:02 DEBUG Shibboleth.AttributeDecoder.NameID [4]: decoding NameIDAttribute (persistent-id) from SAML 2 Attribute (urn:oid:1.3.6.1.4.1.5923.1.1.1.10) with 1 value(s)
2013-12-29 14:50:02 WARN Shibboleth.AttributeDecoder.NameID [4]: AttributeValue was not of a supported type and contains no child elements
2013-12-29 14:50:02 INFO Shibboleth.AttributeExtractor.XML [4]: skipping unmapped SAML 2.0 Attribute with Name: urn:oid:1.3.6.1.4.1.5923.1.1.1.10
SSP IdP Log:
Dec 29 14:50:02 simplesamlphp DEBUG [3f05438bbf] <saml:Attribute Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
Dec 29 14:50:02 simplesamlphp DEBUG [3f05438bbf] <saml:AttributeValue xsi:type="xs:string"><saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" NameQualifier="https://sspidp.example.it/simplesaml/saml2/idp/metadata.php" SPNameQualifier="https://shibsp.exampleit/shibboleth" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">e1a94be90cbbd71a5419d4805772ea1395eaf39d</saml:NameID></saml:AttributeValue>
Dec 29 14:50:02 simplesamlphp DEBUG [3f05438bbf] </saml:Attribute>
SSP IdP authproc.idp on config.php:
'authproc.idp' => array(
/* Enable the authproc filter below to automatically generated eduPersonTargetedID. */
20 => array(
'class' => 'core:TargetedID',
'nameId' => TRUE,
),
// Adopts language from attribute to use in UI
30 => 'core:LanguageAdaptor',
/* When called without parameters, it will fallback to filter attributes ‹the old way›
* by checking the 'attributes' parameter in metadata on IdP hosted and SP remote.
*/
50 => 'core:AttributeLimit',
/*
* Consent module is enabled (with no permanent storage, using cookies).
*/
90 => array(
'class' => 'consent:Consent',
'store' => 'consent:Cookie',
'focus' => 'yes',
'checked' => FALSE
),
// If language is set in Consent module it will be added as an attribute.
99 => 'core:LanguageAdaptor',
// Convert LDAP names to oids.
100 => array('class' => 'core:AttributeMap', 'name2oid'),
),
'attributes.NameFormat' => 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri',
'attributeencodings' => array(
'urn:oid:1.3.6.1.4.1.5923.1.1.1.10' => 'raw',
),
What's wrong?
Is it possible that this AttributeValue, product by my SSP IdP, is wrong because its content is not well formed for Shibboleth SP ?
(I have changed all the VM's fqdns for a better comprehension)
<saml:Attribute Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml:AttributeValue xsi:type="xs:string">
<saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" NameQualifier="https://sspidp.example.it/simplesaml/saml2/idp/metadata.php"
SPNameQualifier="https://shibsp.example.it/shibboleth"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">e1a94be90cbbd71a5419d4805772ea1395eaf39d</saml:NameID>
</saml:AttributeValue>
</saml:Attribute>
Correct recognize eduPersonTargetedID on a Shibboleth SP:
<saml2:Attribute Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue>
<saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
NameQualifier="https://shibidp.example.it/idp/shibboleth"
SPNameQualifier="https://shibsp.example.it/shibboleth">3f037971-43ea-4676-a73d-85896ca742a5</saml2:NameID>
</saml2:AttributeValue>
</saml2:Attribute>
Can somebody help me, please? I have read multiple times the simpleSAMLphp documentation and other similar questions on the web, but I not found the solution to my problem.
All your help will be appreciate. Thank you so much!
Best Regards and Happy New Year!
Marco
--
You received this message because you are subscribed to the Google Groups "simpleSAMLphp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simplesamlph...@googlegroups.com.
To post to this group, send email to simple...@googlegroups.com.
Visit this group at http://groups.google.com/group/simplesamlphp.
For more options, visit https://groups.google.com/groups/opt_out.
'authproc.idp' => array(
/* Enable the authproc filter below to automatically generated eduPersonTargetedID.
This feature MUST have a higher priority of the consent module*/
95 => array(
),