building an AD userPrincipleName attribute

John C. Pfeifer pfeifer at umd.edu
Fri Sep 11 08:09:17 EDT 2015


You probably can accomplish what you need with a scoped attribute.  For instance, I have:

    <resolver:AttributeDefinition xsi:type="ad:Scoped" id="claim-name-scoped" scope="umd.edu" sourceAttributeID="uid">
        <resolver:Dependency ref="directory" />
        <resolver:AttributeEncoder xsi:type="enc:SAML1ScopedString" name="name" />
        <resolver:AttributeEncoder xsi:type=“enc:SAML2ScopedString”
		name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" friendlyName="name" />
    </resolver:AttributeDefinition>

> On Sep 10, 2015, at 3:32 PM, Rob Gorrell <rwgorrel at uncg.edu> wrote:
> 
> We are in the middle of deploying IU's Kumo application. Without getting into what Kumo is, their SP needs to consume an attribute that matches our Active Directory userPrincipleName. However, because AD is not our identity store for shibb, and AD doesn't own the uncg.edu namespace, eppn != userPrincipleName. I'm also not too interested in storing AD UPN's in our LDAP. So what I would like to do is be able to create a custom attribute by taking our username (cn) and simply append a static string "@campus.uncg.edu" matching our AD domain to form an representation of our AD UPN and release this to Kumo.
> 
> I'm not very versed with attribute transformations, but I imagine this one isn't too difficult, however I could use some guidance from the more SAML savy in what an attribute definition for something like this might look like. IU recommends we name this custom attribute "https://schemas.uits.iu.edu/CloudStorage/Identity/UPN"
> 
> Thanks
> -Rob
> 
> 
> -- 
> Robert W. Gorrell
> Systems Architect, Identity and Access Management
> University of NC at Greensboro
> 336-334-5954
> PGP Key ID B36DB0CA
> -- 
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


//
John Pfeifer
Division of Information Technology
University of Maryland, College Park



More information about the users mailing list