Genetating eduPersonTargetedID for UK Federation

Dave Perry Dave.Perry at hull-college.ac.uk
Wed Jan 27 08:07:44 EST 2016


Here is what we have in our production v3 IdP:
    <resolver:AttributeDefinition id="eduPersonTargetedID" xsi:type="SAML2NameID" xmlns="urn:mace:shibboleth:2.0:resolver:ad"
        nameIdFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
        sourceAttributeID="computedID">
        <resolver:Dependency ref="computedID" />

        <resolver:AttributeEncoder xsi:type="SAML1XMLObject" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
                name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" />
    
        <resolver:AttributeEncoder xsi:type="SAML2XMLObject" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
                name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" friendlyName="eduPersonTargetedID" />
    </resolver:AttributeDefinition>

    <resolver:DataConnector xsi:type="ComputedId" xmlns="urn:mace:shibboleth:2.0:resolver:dc"
                            id="computedID"
                            generatedAttributeID="computedID"
                            sourceAttributeID="sAMAccountName"
                            salt="oursalt">
        <resolver:Dependency ref="myLDAP" />
    </resolver:DataConnector>

I believe this was copy/pasted from our v2 IdP, but some things needed minor changes.


Dave
_________________________________________________
Dave Perry
eLearning Technologist, Hull College Group

Room L34 - Queens Gardens Library
Wilberforce Drive, Queen's Gardens, Hull, HU1 3DG
Extension 2230 / Direct Dial 01482 381930

* Need a fast reply? Try elearning at hull-college.ac.uk *


-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Ortner Nikolaus
Sent: 27 January 2016 12:25
To: 'Shib Users'
Subject: AW: Genetating eduPersonTargetedID for UK Federation

> Is updating those to recommend releasing the NameID in the Subject's 
> Assertion instead an option going forward?

Probably this will take some time. But this brings me to my problem:

Recently we updated our IdP v2 to v3 and we are still generating the SAML2 Persistent NameID with the legacy nameid-generator enabled, as we've seen the attribute eduPersonTargetedID missing in the assertion otherwise. As we have one, maybe two, service providers relying on the presence of this attribute, I still have not figured out how to properly generate eduPersonTargetedID with the new mechanisms. Any how-to or link highly appreciated.

Kind regards.

--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net

**********************************************************************
This message is sent in confidence for the addressee
only. It may  contain confidential or sensitive
information.  The contents are not to be disclosed
to anyone other than the addressee.  Unauthorised
recipients are requested to preserve this
confidentiality and to advise us of any errors in
transmission.  Any views expressed in this message
are solely the views of the individual and do not
represent the views of the College.  Nothing in this
message should be construed as creating a contract.

Hull College Group owns the email infrastructure, including the contents.

Hull College Group is committed to sustainability, please reflect before printing this email.
**********************************************************************

TEXT


More information about the users mailing list