5.0.0RC4 Trying to release one ldap attribute mapped to multiple values

37 views
Skip to first unread message

Eric Allen

unread,
Oct 20, 2016, 4:46:20 PM10/20/16
to CAS Community
In previous versions of CAS I could map one ldap attribute to mutliple values.  I am having a hard time figuring that out with the principalAttributeList.  The reason is I have different services that need the same data but with different released attribute names. 

Previously you could do something like 

<property name="resultAttributeMapping">
            <map>
                <entry value="email" key="mail" />
                <entry key="sAMAccountName">
                                       <set>
                                               <value>UDC_IDENTIFIER</value>
                                               <value>sAMAccountName</value>
                                       </set>
                               </entry>
            </map>
        </property>

Is this possible in CAS 5?

Thanks
Eric

Misagh Moayyed

unread,
Oct 20, 2016, 5:57:59 PM10/20/16
to CAS Community
Yes, but it’s a lot easier if you do: 

Resolve sAMAccountName. Don’t map it at resolution time. Map it at release time which is where that change belongs. 
--
CAS gitter chatroom: https://gitter.im/apereo/cas
CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
CAS documentation website: https://apereo.github.io/cas
CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/38ce47df-2a4f-490d-958a-017a0630f1d0%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.
-- 
Misagh

Eric Allen

unread,
Oct 20, 2016, 6:48:06 PM10/20/16
to CAS Community, mmoa...@unicon.net
Thank you.  I knew it was there somewhere,  I just didn't think to change it in the service.  
Reply all
Reply to author
Forward
0 new messages