https://github.com/apereo/cas/blob/master/core/cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/support/Beans.java#L164



--Misagh



From: 'Adalbert Schwafel' via CAS Community [mailto:[email protected]]
Sent: Wednesday, June 28, 2017 12:23 PM
To: CAS Community <[email protected]>
Subject: [cas-user] How to configure / inject DataSource into 
AbstractUsernamePasswordAuthenticationHandler (CAS 5.1)



I have a basic CAS 5.1 running using the Maven overlay and a custom 
AuthenticationHandler following the blog post 
https://apereo.github.io/2017/02/02/cas51-authn-handlers/



I need to make my own DB queries to carry out authentication. Are there any 
pointers how to create a datasource and inject that into the auth handler, 
potentially also using a DB connection pool such as c3p0?


Thanks



.as





-- 
- 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] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d8a519dd-9533-4f90-ae2c-60e6ed9d7ea3%40apereo.org
 
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/d8a519dd-9533-4f90-ae2c-60e6ed9d7ea3%40apereo.org?utm_medium=email&utm_source=footer>
 
.

-- 
- 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/005a01d2f044%2462cfbeb0%24286f3c10%24%40unicon.net.

Reply via email to