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