AW: IdP 4 attribute-resolver.xml memberof affiliation
Pfeuffer, Susanne
Susanne.Pfeuffer at dhbw.de
Tue Jun 9 13:19:54 UTC 2020
Hi there,
I got a problem with my attribute-resolver.xml. As you can see below I want to get the affiliation out of group memberships in my ldap.
So far so good I always get the member value back, but my user and test user is in one of these groups. I thought it already worked but by checking today it doesn't.
Anybody who can help?
Thanks
Susie
<AttributeDefinition xsi:type="Mapped" id="eduPersonAffiliation">
<InputDataConnector ref="myLDAP" attributeNames="memberOf"/>
<InputDataConnector ref="myLDAP1" attributeNames="memberOf"/>
<InputDataConnector ref="myLDAP2" attributeNames="memberOf"/>
<DisplayName xml:lang="en">Affiliation type</DisplayName>
<DisplayName xml:lang="de">Zugehörigkeit</DisplayName>
<DisplayDescription xml:lang="en">Type of affiliation with Home Organization</DisplayDescription>
<DisplayDescription xml:lang="de">Art der Zugehörigkeit zur Heimateinrichtung</DisplayDescription>
<AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:eduPersonAffiliation" />
<AttributeEncoder xsi:type="SAML2String" name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" friendlyName="eduPersonAffiliation" />
<!-- default 'member', damit immer mindestens ein Wert vorhanden ist -->
<DefaultValue>member</DefaultValue>
<ValueMap>
<ReturnValue>faculty</ReturnValue>
<SourceValue ignoreCase="true">cn=Shibboleth-Studenten.+</SourceValue>
</ValueMap>
<ValueMap>
<ReturnValue>employee</ReturnValue>
<SourceValue ignoreCase="true">cn=Shibboleth-Member.+</SourceValue>
<SourceValue ignoreCase="true">cn=Shibboleth-Dozenten,.+</SourceValue>
<SourceValue ignoreCase="true">cn=Shibboleth-Mitarbeiter,.+</SourceValue>
</ValueMap>
<ValueMap>
<ReturnValue>staff</ReturnValue>
<SourceValue ignoreCase="true">cn=Shibboleth-Studenten.+</SourceValue>
<SourceValue ignoreCase="true">cn=Shibboleth-Member,.+</SourceValue>
<SourceValue ignoreCase="true">cn=Shibboleth-Mitarbeiter,.+</SourceValue>
<SourceValue ignoreCase="true">cn=Shibboleth-Dozenten,.+</SourceValue>
</ValueMap>
</AttributeDefinition>
Susanne Pfeuffer
IT Infrastruktur
Duale Hochschule Baden-Württemberg
Baden-Wuerttemberg Cooperative State University
Corporate IT Service Center der DHBW
Friedrichstraße 14
70174 Stuttgart
Tel.: +49 (0)711 320 660 - 6030
Fax: +49 (0)711 320 660 - 6006
E-Mail: susanne.pfeuffer at dhbw.de
http://www.dhbw.de
More information about the users
mailing list