It is 4.x specific, yes. > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Baron Fujimoto > Sent: Tuesday, May 10, 2016 3:29 PM > To: CAS Users <[email protected]> > Subject: Re: [cas-user] Re: LdapPersonAttributeDao: source attribute to > > 1 > result attribute? > > I think 2. would suffice. But is that suggestion below specific to 4.x? > I'm using 3.4.11... > > On Tue, May 10, 2016 at 01:37:57PM -0700, Misagh Moayyed wrote: > >Let me ask: which of the following scenarios is what you're after: > > > >1. Service A gets resultAttr1 and Service B gets resultAttr2 2. Service > >A may get both resultAttr1 and resultAttr2 > > > >I don't know why you would ever want 2, but if you answered 1, there is > >this: > >http://apereo.github.io/cas/4.2.x/integration/Attribute-Release.html#at > >tribute-release-policy > > > >See "Return Mapped". > > > >This is a solution that solves the problem at release time. > > > >> -----Original Message----- > >> From: [email protected] [mailto:[email protected]] On Behalf Of > >> Baron Fujimoto > >> Sent: Tuesday, May 10, 2016 12:38 PM > >> To: CAS Users <[email protected]> > >> Subject: [cas-user] Re: LdapPersonAttributeDao: source attribute to > > >> 1 result attribute? > >> > >> On Fri, May 06, 2016 at 04:51:33PM -1000, Baron Fujimoto wrote: > >> >We're using LdapPersonAttributeDao in CAS 3.4.11's > >> >deployerConfigContext.xml to return attributes for /samlValidate. Is > >> >there a way to configure it to use the same source attribute to > >> >return more than one result attribute? That is, we'd like to query > >> >"srcAttr" > >> >from LDAP and return its value as both "resultAttr1" and > >> >"resultAttr2". > >> >Only one-to-one mappings are allowed by > >> > > >> ><property name="resultAttributeMapping"> > >> > <map> > >> > <entry key="srcAttr" value="resultAttr1"/> > >> > <entry key="srcAttr" value="resultAttr2"/> > >> > </map> > >> ></property> > >> > > >> >So that type of shenanigans doesn't work. Is there another way to > >> >achieve this? > >> > >> Sorry to follow up my own post, but can anyone tell me if this is > >> achievable, or do I need to pursue some other non-CAS option? For > >> example, replicating the source attribute in LDAP seems like an > >> unpalatable kludge. > >> > >> -- > >> Baron Fujimoto <[email protected]> :: UH Information Technology > >> Services minutas cantorum, minutas balorum, minutas carboratum > >> desendus pantorum > >> > >> -- > >> 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 [email protected]. > >> To post to this group, send email to [email protected]. > >> 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/20160510193746.GI766%40praenomen.mgt.hawaii.edu. > >> For more options, visit > >> https://groups.google.com/a/apereo.org/d/optout. > > > >-- > >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 [email protected]. > >To post to this group, send email to [email protected]. > >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/027101d1aafb%24d53ec930%247fbc5b90%24%40unicon.net. > >For more options, visit https://groups.google.com/a/apereo.org/d/optout. > > -- > Baron Fujimoto <[email protected]> :: UH Information Technology Services > minutas cantorum, minutas balorum, minutas carboratum desendus > pantorum > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/20160510222908.GK766%40praenomen.mgt.hawaii.edu. > For more options, visit https://groups.google.com/a/apereo.org/d/optout.
-- 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 [email protected]. To post to this group, send email to [email protected]. 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/02f301d1ab0e%24852ebe60%248f8c3b20%24%40unicon.net. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
