Pablo,

Here it is in 5.2
https://apereo.github.io/cas/5.2.x/integration/Attribute-Resolution.html

Ray

On Wed, 2018-03-21 at 14:14 -0700, Pablo Vidaurri wrote:
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>.


--
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]

-- 
- 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/1521668060.1797.18.camel%40uvic.ca.

Reply via email to