Hello all,
I'm trying to implement a mergingPersonAttributeDao but CAS-5-like using
applications.properties (like the default LDAP or JDBC dao) rather than
describing fully the Daos.
Something like:
<bean id="primaryPrincipalResolver"
class="org.apereo.cas.authentication.principal.PersonDirectoryPrincipalResolver"
>
<property name="attributeRepository" ref="mergingPersonAttributeDao" />
</bean>
<bean id="mergingPersonAttributeDao"
class="org.apereo.services.persondir.support.MergingPersonAttributeDaoImpl">
<property name="personAttributeDaos">
<list>
<ref bean="ldapPersonAttributeDao" />
<ref bean="singleRowJdbcPersonAttributeDao" />
</list>
</property>
</bean>
<bean id="ldapPersonAttributeDao"
class="org.apereo.services.persondir.support.ldap.LdapPersonAttributeDao">
<!-- FIXME: use application.properties -->
</bean>
<bean id="singleRowJdbcPersonAttributeDao"
class="org.apereo.services.persondir.support.jdbc.SingleRowJdbcPersonAttributeDao">
<!-- FIXME: use application.properties -->
</bean>
(Final goal as you should have guessed, is to add new attributes coming
from an SQL DB on top of LDAP attributes given by the authentication
handler).
Do you know if it is possible?
Looks like I'm missing something... I'm wondering if I'm even on the good
way to do it ^^
Thanks.
--
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 [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/5c8f4461-144b-4731-bfa4-9469cff2f632%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.