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

Reply via email to