Beginner question:

  I need to autowire a DataSource for one of my AuthenticationHandlers.  In
my cas.properties I have the standard spring datasource properties that I
have used many times:

spring.datasource.driver-class-name=javax.sql.DataSource
spring.datasource.url=jdbc:mysql://localhost:3306/MSO
spring.datasource.username=michael
spring.datasource.password=
spring.datasource.autocommit=true

But I am getting an error at bean creation:

Failed to bind properties under 'spring.datasource' to javax.sql.DataSource>

I can only assume that I put the properties in the wrong place?  Where
should my datasourcce properties (and eventually HikariCP properties)  go?

Michael

-- 
- 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/CAN9%2B60r4OPtKUcwj0kCku97LquN4JXR753t%2BOESbJmS4v9URoQ%40mail.gmail.com.

Reply via email to