Yes, but it’s a lot easier if you do: 
https://apereo.github.io/cas/development/integration/Attribute-Release-Policies.html
 

Resolve sAMAccountName. Don’t map it at resolution time. Map it at release time 
which is where that change belongs. 

From: Eric Allen <trucke...@gmail.com>
Reply: Eric Allen <trucke...@gmail.com>
Date: October 21, 2016 at 12:16:26 AM
To: CAS Community <cas-user@apereo.org>
Subject:  [cas-user] 5.0.0RC4 Trying to release one ldap attribute mapped to 
multiple values  

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
--
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+unsubscr...@apereo.org.
To post to this group, send email to cas-user@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

-- 
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+unsubscr...@apereo.org.
To post to this group, send email to cas-user@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/etPan.58093dd9.37be560e.122ea%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to