sorry for resurrecting old thread ... is this possible starting with 5.1.0? Can I do something similar with 3.5.2?
pull some attributes from ldap, pull additional attributes from oracle db, then merge attributes Yes, I know I need to upgrade :) -psv On Wednesday, November 30, 2016 at 2:41:32 PM UTC-6, Misagh Moayyed wrote: > > Already possible in 5.1.0. > > > https://apereo.github.io/cas/development/integration/Attribute-Resolution.html > > > > > --Misagh > > > > *From:* [email protected] <javascript:> [mailto:[email protected] > <javascript:>] *On Behalf Of *Jeffrey Wong > *Sent:* Wednesday, November 30, 2016 1:30 PM > *To:* CAS Community <[email protected] <javascript:>> > *Subject:* [cas-user] CAS 5 is it possible to configure multiple jdbc > attribute repositories? > > > > I'm analyzing an upgrade to cas5 today, and I'm wondering if it's possible > to merge multiple JDBC attribute repositories together. > > > > In the docs, the following attributes are listed: > > > > # cas.authn.attributeRepository.jdbc.singleRow=true > > # cas.authn.attributeRepository.jdbc.requireAllAttributes=true > > # cas.authn.attributeRepository.jdbc.caseCanonicalization=NONE|LOWER|UPPER > > # cas.authn.attributeRepository.jdbc.queryType=OR|AND > > # cas.authn.attributeRepository.jdbc.sql=SELECT * FROM table WHERE {0} > > > > Would it be possible to set up multiple repository queries so that > multiple jdbcs can be configured, similar to the jdbc auth handlers? > > (such as cas.authn.jdbc.query[0].sql=SELECT password FROM table WHERE > name=?) > > > > The above would be able to be configured as: > > > > # cas.authn.attributeRepository.jdbc[0].singleRow=true > > # cas.authn.attributeRepository.jdbc[0].requireAllAttributes=true > > # > cas.authn.attributeRepository.jdbc[0].caseCanonicalization=NONE|LOWER|UPPER > > # cas.authn.attributeRepository.jdbc[0].queryType=OR|AND > > # cas.authn.attributeRepository.jdbc[0].sql=SELECT * FROM table WHERE {0} > > > > If this is possible it should at least be documented so other folks don't > have the same question :) > > > > Thanks! > > -Jeff > > -- > - 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] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/82e9bf80-e646-403b-b17d-ead6a338dd9a%40apereo.org > > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/82e9bf80-e646-403b-b17d-ead6a338dd9a%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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 view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/2fd52e95-118e-4c03-9952-d9e5f4cc5d49%40apereo.org.
