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].
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.