You may wish to look at:

http://www.ja-sig.org/wiki/display/UPC/MergingPersonAttributeDaoImpl

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Wed, Oct 22, 2008 at 9:06 AM, Sean R. McNamara <
[EMAIL PROTECTED]> wrote:

> Hello all,
>
> I was curious if there was a way to have a principal's attributes
> returned from multiple attributeRepositories.  For example, is something
> along the lines of:
>
>                <bean
>
>
> class="org.jasig.cas.authentication.principal.CredentialsToLDAPAttributePrincipalResolver">
>
>        [snip]
>
>                    <property name="attributeRepository">
>                        <ref bean="attribRepository" />
>                        <ref bean="attribRepository2" />
>                    </property>
>
>            </list>
>        </property>
>    </bean>
>
> ...valid?
>
> Basically we have a handful of users that may have an attribute stored
> in a second repository.  If this attribute exists, we'd like to have it
> returned along with the rest of the attributes handed back by CAS.
>
> I see how this could be done by modifying AttributeDao, but it seems
> like it would be cleaner to have multiple attribute repositories rather
> than a single repository that aggregates for multiple data sources.
>
> Any thoughts or suggestions?
>
> As always, thanks a lot for your help!
>
> ..Sean.
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to