<div dir="ltr"><div>Hi all,</div><div><br></div><div>I'm the lead developer for QDR ( <a href="https://qdr.syr.edu/" target="_blank">https://qdr.syr.edu/</a> ) and currently I'm working on configuring SSO between our site, which is Drupal, and an instance of Dataverse (<a href="http://dataverse.org/" target="_blank">http://dataverse.org/</a>) which is set up on the same server.</div><div><br></div><div>Dataverse has built-in support for Shibboleth, so I've configured it as a Shibboleth SP.  To create an IdP integrated with our Drupal site I used SimpleSamlPhp, because it has a module for Drupal integration.</div><div><br></div><div>I've successfully gotten the SP to authenticate against the IdP, and it correctly receives the following attributes: uid, mail, givenName, sn, and a custom attribute "roles".  However, Dataverse requires an eppn attribute to be specified in order for the SSO integration to work.  We have a database full of users who registered for the QDR site with a variety of email addresses, many of which do not end in ".edu".  Therefore, by definition, we do not have an eduPersonPrincipalName for each of our users.  I'm attempting to use the users' email addresses as their  eppns. Right now I've configured my IdP to send the users email address in an attribute called "eppn"</div><div><br></div><div>I've tried editing <b>attribute-map.xml</b> to configure "eppn" to be a custom attribute, the same way that I configured "roles":</div><div><Attribute name="roles" id="roles"/><br><Attribute name="eppn" id="eppn"/></div><div><br></div><div>This does not work.. In my log files I see the following:<br></div><div>2016-08-09 13:43:16 DEBUG Shibboleth.AttributeFilter [2]: filtering 6 attribute(s) from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)<br>2016-08-09 13:43:16 DEBUG Shibboleth.AttributeFilter [2]: applying filtering rule(s) for attribute (sn) from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)<br>2016-08-09 13:43:16 DEBUG Shibboleth.AttributeFilter [2]: applying filtering rule(s) for attribute (givenName) from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)<br>2016-08-09 13:43:16 DEBUG Shibboleth.AttributeFilter [2]: applying filtering rule(s) for attribute (mail) from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)<br>2016-08-09 13:43:16 DEBUG Shibboleth.AttributeFilter [2]: applying filtering rule(s) for attribute (uid) from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)<br>2016-08-09 13:43:16 DEBUG Shibboleth.AttributeFilter [2]: applying filtering rule(s) for attribute (roles) from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)<br>2016-08-09 13:43:16 DEBUG Shibboleth.AttributeFilter [2]: applying filtering rule(s) for attribute (eppn) from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)<br>2016-08-09 13:43:16 <b>WARN Shibboleth.AttributeFilter [2]: removed value at position (0) of attribute (eppn)</b> from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)<br>2016-08-09 13:43:16 WARN Shibboleth.AttributeFilter [2]: no values left, removing attribute (eppn) from (<a href="https://stage.qdr.org/simplesaml/saml2/idp/metadata.php">https://stage.qdr.org/simplesaml/saml2/idp/metadata.php</a>)</div><div><i></i><br></div><div>Is it possible to configure a custom attribute named "eppn", or does the eppn have to be a .edu address?</div><div><br></div><div>Your advice is very much appreciated.  </div><div><br></div><div>Thanks in advance,</div><div>Alex</div></div>